Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006324/0.006323, allocations: 97.27 kB / 15.73 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 195.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.451/2.451, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 72.02 kB / 1.018 GB, free: 9.84 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7755/0.7768, allocations: 151.6 MB / 1.166 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001765/0.7786, allocations: 0.5921 MB / 1.167 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0006847/0.7793, allocations: 348.7 kB / 1.167 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.929e-05/0.7793, allocations: 0 / 1.167 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.206e-05/0.7793, allocations: 0 / 1.167 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 2.513e-05/0.7794, allocations: 7.938 kB / 1.167 GB, free: 2.812 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000513/0.7799, allocations: 108.9 kB / 1.167 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.337e-05/0.7799, allocations: 15.98 kB / 1.167 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.678e-05/0.78, allocations: 3.984 kB / 1.167 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.823e-05/0.78, allocations: 4 kB / 1.167 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.047e-05/0.7801, allocations: 7.938 kB / 1.167 GB, free: 2.676 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.7801, allocations: 0 / 1.167 GB, free: 2.676 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003989/0.7805, allocations: 279.6 kB / 1.168 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.7805, allocations: 4 kB / 1.168 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.289e-05/0.7805, allocations: 4 kB / 1.168 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.7807, allocations: 95.42 kB / 1.168 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.7808, allocations: 0 / 1.168 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.253e-06/0.7808, allocations: 0 / 1.168 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.7808, allocations: 0 / 1.168 GB, free: 2.305 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003522/0.7811, allocations: 351.2 kB / 1.168 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.7812, allocations: 12.92 kB / 1.168 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.028e-05/0.7812, allocations: 30.75 kB / 1.168 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.901e-05/0.7813, allocations: 8.875 kB / 1.168 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.7814, allocations: 160.4 kB / 1.168 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.7814, allocations: 4.375 kB / 1.168 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.7814, allocations: 384 / 1.168 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.7815, allocations: 38.25 kB / 1.168 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.7815, allocations: 3.938 kB / 1.168 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.7816, allocations: 0 / 1.168 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.7816, allocations: 0 / 1.168 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.377e-05/0.7816, allocations: 4 kB / 1.168 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.7818, allocations: 161.6 kB / 1.168 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.344e-05/0.7818, allocations: 18.58 kB / 1.168 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.975e-05/0.7818, allocations: 7.328 kB / 1.168 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007982/0.7827, allocations: 465.5 kB / 1.169 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.7827, allocations: 30.56 kB / 1.169 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.7827, allocations: 0 / 1.169 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005823/0.7833, allocations: 254.3 kB / 1.169 GB, free: 484 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/0.7834, allocations: 63.56 kB / 1.169 GB, free: 408 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.158e-05/0.7834, allocations: 97.84 kB / 1.169 GB, free: 300 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.7835, allocations: 25.7 kB / 1.169 GB, free: 268 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.611e-05/0.7835, allocations: 80.14 kB / 1.169 GB, free: 184 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.7835, allocations: 15.84 kB / 1.169 GB, free: 168 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.7836, allocations: 13.72 kB / 1.169 GB, free: 148 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.7837, allocations: 318.8 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.67e-05/0.7837, allocations: 8.062 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.674e-05/0.7837, allocations: 21.72 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.803e-05/0.7838, allocations: 29.72 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.7838, allocations: 0 / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001112/0.7839, allocations: 53.62 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.7839, allocations: 7.938 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.7839, allocations: 208 / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.784, allocations: 8 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.913e-05/0.784, allocations: 11.97 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.784, allocations: 0 / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.947e-05/0.7841, allocations: 4 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.7841, allocations: 0 / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.592e-05/0.7842, allocations: 109.8 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.7842, allocations: 7.938 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/0.7843, allocations: 61.06 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.7843, allocations: 0 / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.7844, allocations: 0 / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.7844, allocations: 3.984 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.7845, allocations: 157.7 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.7845, allocations: 0 / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.052e-05/0.7845, allocations: 8 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.7846, allocations: 3.938 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.7846, allocations: 0 / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.7846, allocations: 0 / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.7846, allocations: 0 / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.7847, allocations: 81.06 kB / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.501e-05/0.7848, allocations: 93.02 kB / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.7848, allocations: 0 / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.123e-05/0.7849, allocations: 0 / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.607e-05/0.7849, allocations: 7.938 kB / 1.17 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-06/0.7849, allocations: 0 / 1.17 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.262e-05/0.7849, allocations: 79.34 kB / 1.17 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7849, allocations: 0 / 1.17 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002306/0.7852, allocations: 31.92 kB / 1.17 GB, free: 14.92 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007095/0.7859, allocations: 0.6397 MB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.563e-05/0.786, allocations: 12 kB / 1.171 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.786, allocations: 8.281 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.751e-05/0.786, allocations: 7.984 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.7862, allocations: 0.5625 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009827/0.7872, allocations: 1.127 MB / 1.172 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.7874, allocations: 0.6806 MB / 1.173 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.067e-05/0.7875, allocations: 8 kB / 1.173 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/0.7875, allocations: 7.438 kB / 1.173 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of SimCode: time 3.61e-07/0.7875, allocations: 3.938 kB / 1.173 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01995/0.8074, allocations: 1.747 MB / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.582/8.39, allocations: 11.89 kB / 1.175 GB, free: 10.67 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches