Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",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 1.983/1.983, allocations: 387.1 MB / 399.7 MB, free: 9.445 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.0009148/0.0009148, allocations: 184.1 kB / 492.3 MB, free: 0.5938 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.309/1.309, allocations: 221.3 MB / 0.7871 GB, free: 12.84 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.0007908/0.0007908, allocations: 83.14 kB / 0.9267 GB, free: 13.92 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.981e-05/2.992e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.207, allocations: 142.4 MB / 1.213 GB, free: 38.34 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.723/0.9301, allocations: 149.3 MB / 1.358 GB, free: 19.03 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/0.9304, allocations: 73.2 kB / 1.358 GB, free: 19.03 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01332/0.9437, allocations: 5.116 MB / 1.363 GB, free: 34.43 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9438, allocations: 0 / 1.363 GB, free: 34.43 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.9438, allocations: 0 / 1.363 GB, free: 34.43 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000235/0.944, allocations: 359.4 kB / 1.364 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.9441, allocations: 9.266 kB / 1.364 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.927e-05/0.9441, allocations: 37.12 kB / 1.364 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.296e-05/0.9442, allocations: 4.688 kB / 1.364 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.945e-05/0.9442, allocations: 172.1 kB / 1.364 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.9442, allocations: 3.25 kB / 1.364 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.9443, allocations: 9.516 kB / 1.364 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.307e-05/0.9444, allocations: 50.73 kB / 1.364 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.9444, allocations: 3.938 kB / 1.364 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.9444, allocations: 0 / 1.364 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-06/0.9444, allocations: 0 / 1.364 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.178e-05/0.9445, allocations: 21.31 kB / 1.364 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001197/0.9446, allocations: 168 kB / 1.364 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.875e-05/0.9447, allocations: 62.48 kB / 1.364 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.347e-05/0.9447, allocations: 27.48 kB / 1.364 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004781/0.9452, allocations: 472.7 kB / 1.365 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.9452, allocations: 30.56 kB / 1.365 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.9452, allocations: 0 / 1.365 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0008565/0.9461, allocations: 0.5555 MB / 1.365 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.691e-05/0.9461, allocations: 51.41 kB / 1.365 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.76e-05/0.9462, allocations: 103.2 kB / 1.365 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.9462, allocations: 25.7 kB / 1.365 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 1.411e-05/0.9462, allocations: 83.89 kB / 1.366 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.9462, allocations: 40.42 kB / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.9462, allocations: 3.188 kB / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 5.203e-05/0.9463, allocations: 317.7 kB / 1.366 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.262e-05/0.9463, allocations: 22.53 kB / 1.366 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.822e-05/0.9464, allocations: 17.47 kB / 1.366 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.993e-05/0.9464, allocations: 30.28 kB / 1.366 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.9464, allocations: 7.938 kB / 1.366 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001189/0.9465, allocations: 93.41 kB / 1.366 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.978e-06/0.9466, allocations: 3.875 kB / 1.366 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.9466, allocations: 0 / 1.366 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.9466, allocations: 3.781 kB / 1.366 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.053e-05/0.9467, allocations: 21.59 kB / 1.366 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.9467, allocations: 0 / 1.366 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.17e-05/0.9467, allocations: 3.75 kB / 1.366 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.9467, allocations: 3.984 kB / 1.366 GB, free: 31.92 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 5.841e-05/0.9468, allocations: 122 kB / 1.366 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.9468, allocations: 7.75 kB / 1.366 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001521/0.947, allocations: 103 kB / 1.366 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.947, allocations: 0 / 1.366 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.947, allocations: 0 / 1.366 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.947, allocations: 6.75 kB / 1.366 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.9473, allocations: 350.8 kB / 1.367 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.9473, allocations: 0 / 1.367 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.604e-05/0.9474, allocations: 26.17 kB / 1.367 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.9474, allocations: 0 / 1.367 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.9474, allocations: 3.438 kB / 1.367 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.9474, allocations: 0 / 1.367 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.9474, allocations: 0 / 1.367 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.9476, allocations: 221.5 kB / 1.367 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.251e-05/0.9477, allocations: 87.77 kB / 1.367 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.9477, allocations: 3.25 kB / 1.367 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.442e-05/0.9478, allocations: 14.44 kB / 1.367 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/0.9478, allocations: 10.36 kB / 1.367 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.9478, allocations: 3.844 kB / 1.367 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.512e-05/0.9478, allocations: 75.28 kB / 1.367 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9478, allocations: 0 / 1.367 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002251/0.9481, allocations: 57.48 kB / 1.367 GB, free: 31.11 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0004889/0.9486, allocations: 0.8154 MB / 1.368 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001002/0.9487, allocations: 61.53 kB / 1.368 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.9487, allocations: 0 / 1.368 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.807e-05/0.9487, allocations: 38.64 kB / 1.368 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001171/0.9488, allocations: 1.031 kB / 1.368 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000369/0.9492, allocations: 192.8 kB / 1.368 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.9495, allocations: 0.6954 MB / 1.369 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.372e-05/0.9495, allocations: 5.594 kB / 1.369 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/0.9496, allocations: 20.16 kB / 1.369 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/0.9496, allocations: 0 / 1.369 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01123/0.9608, allocations: 2.179 MB / 1.371 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001325/0.961, allocations: 184.4 kB / 1.371 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.448/2.409, allocations: 0 / 1.371 GB, free: 29.14 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat does not exist to compare? outputFormat=mat