Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.633/2.633, allocations: 390.3 MB / 405.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 171.6 kB / 498.1 MB, free: 5.746 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.74/1.74, allocations: 223.1 MB / 0.7948 GB, free: 17.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 102.5 kB / 0.9346 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004057/0.0004057, allocations: 14.33 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3347, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1977/0.5325, allocations: 149.3 MB / 1.369 GB, free: 12.74 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/0.5329, allocations: 79.95 kB / 1.369 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01394/0.5468, allocations: 4.567 MB / 1.373 GB, free: 8.086 MB / 0.8698 GB Notification: Performance of FrontEnd: time 5.04e-06/0.5469, allocations: 0 / 1.373 GB, free: 8.086 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.5469, allocations: 3.938 kB / 1.373 GB, free: 8.082 MB / 0.8698 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.0005845/0.5475, allocations: 359.2 kB / 1.374 GB, free: 7.684 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.737e-05/0.5476, allocations: 8.031 kB / 1.374 GB, free: 7.676 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.258e-05/0.5477, allocations: 30.56 kB / 1.374 GB, free: 7.637 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.5478, allocations: 7.906 kB / 1.374 GB, free: 7.629 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.548, allocations: 163 kB / 1.374 GB, free: 7.43 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.548, allocations: 0 / 1.374 GB, free: 7.43 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.417e-05/0.548, allocations: 15.92 kB / 1.374 GB, free: 7.414 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.5482, allocations: 29.7 kB / 1.374 GB, free: 7.379 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.5482, allocations: 0 / 1.374 GB, free: 7.379 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.5482, allocations: 4 kB / 1.374 GB, free: 7.375 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.5482, allocations: 4 kB / 1.374 GB, free: 7.371 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.121e-05/0.5483, allocations: 4 kB / 1.374 GB, free: 7.367 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002528/0.5485, allocations: 153.6 kB / 1.374 GB, free: 7.168 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.309e-05/0.5486, allocations: 18.61 kB / 1.374 GB, free: 7.141 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007329/0.5493, allocations: 473.5 kB / 1.374 GB, free: 6.586 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.5494, allocations: 30.56 kB / 1.374 GB, free: 6.547 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.5494, allocations: 4 kB / 1.374 GB, free: 6.543 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0006393/0.55, allocations: 254.6 kB / 1.375 GB, free: 6.242 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.5501, allocations: 51.41 kB / 1.375 GB, free: 6.18 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.339e-05/0.5502, allocations: 89 kB / 1.375 GB, free: 6.086 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.5502, allocations: 25.7 kB / 1.375 GB, free: 6.055 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.826e-05/0.5502, allocations: 84.12 kB / 1.375 GB, free: 5.969 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.5503, allocations: 15.75 kB / 1.375 GB, free: 5.953 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/0.5503, allocations: 0 / 1.375 GB, free: 5.953 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.5504, allocations: 326.9 kB / 1.375 GB, free: 5.625 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.614e-05/0.5504, allocations: 0 / 1.375 GB, free: 5.625 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.907e-05/0.5505, allocations: 21.72 kB / 1.375 GB, free: 5.598 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.507e-05/0.5505, allocations: 4 kB / 1.375 GB, free: 5.594 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.5505, allocations: 0 / 1.375 GB, free: 5.594 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001159/0.5506, allocations: 57.62 kB / 1.375 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.5506, allocations: 4 kB / 1.375 GB, free: 5.527 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.5507, allocations: 4.062 kB / 1.375 GB, free: 5.523 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.5507, allocations: 0 / 1.375 GB, free: 5.523 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.96e-05/0.5507, allocations: 11.98 kB / 1.375 GB, free: 5.512 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.5508, allocations: 3.938 kB / 1.375 GB, free: 5.508 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.942e-05/0.5508, allocations: 0 / 1.375 GB, free: 5.508 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.5508, allocations: 7.984 kB / 1.375 GB, free: 5.5 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.472e-05/0.5509, allocations: 113.7 kB / 1.376 GB, free: 5.379 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.5509, allocations: 4 kB / 1.376 GB, free: 5.375 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/0.5511, allocations: 61.12 kB / 1.376 GB, free: 5.305 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.5511, allocations: 0 / 1.376 GB, free: 5.305 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5511, allocations: 0 / 1.376 GB, free: 5.305 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.5511, allocations: 3.984 kB / 1.376 GB, free: 5.301 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.5512, allocations: 153.6 kB / 1.376 GB, free: 5.102 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.5512, allocations: 3.984 kB / 1.376 GB, free: 5.098 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.051e-05/0.5513, allocations: 4 kB / 1.376 GB, free: 5.094 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.5513, allocations: 0 / 1.376 GB, free: 5.094 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.5513, allocations: 4 kB / 1.376 GB, free: 5.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5513, allocations: 0 / 1.376 GB, free: 5.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.5513, allocations: 4 kB / 1.376 GB, free: 5.086 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.5515, allocations: 80.97 kB / 1.376 GB, free: 4.988 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.345e-05/0.5516, allocations: 81.06 kB / 1.376 GB, free: 4.891 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.5516, allocations: 3.984 kB / 1.376 GB, free: 4.887 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.742e-05/0.5516, allocations: 4.031 kB / 1.376 GB, free: 4.883 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.491e-05/0.5517, allocations: 0 / 1.376 GB, free: 4.883 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.5517, allocations: 0 / 1.376 GB, free: 4.883 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.125e-05/0.5517, allocations: 83.34 kB / 1.376 GB, free: 4.801 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5517, allocations: 0 / 1.376 GB, free: 4.801 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002496/0.552, allocations: 39.92 kB / 1.376 GB, free: 4.762 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006001/0.5526, allocations: 0.6473 MB / 1.377 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.668e-05/0.5527, allocations: 24.14 kB / 1.377 GB, free: 4.062 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5527, allocations: 0 / 1.377 GB, free: 4.062 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.706e-05/0.5527, allocations: 7.938 kB / 1.377 GB, free: 4.055 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000122/0.5529, allocations: 7.031 kB / 1.377 GB, free: 4.051 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006485/0.5535, allocations: 0.5218 MB / 1.377 GB, free: 3.469 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.5538, allocations: 0.677 MB / 1.378 GB, free: 2.766 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.137e-05/0.5538, allocations: 4.375 kB / 1.378 GB, free: 2.762 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.536e-05/0.5538, allocations: 19.36 kB / 1.378 GB, free: 2.742 MB / 0.8698 GB Notification: Performance of SimCode: time 4.41e-07/0.5538, allocations: 0 / 1.378 GB, free: 2.742 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01533/0.5692, allocations: 1.463 MB / 1.379 GB, free: 1.445 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/0.5694, allocations: 212.3 kB / 1.38 GB, free: 1.199 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.565/2.135, allocations: 0 / 1.38 GB, free: 1.199 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat does not exist to compare? outputFormat=mat