Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.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 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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.Controls.OBC.CDL.Continuous.Validation.Derivative,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative",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.001354/0.001354, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001774/0.001774, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 223.3 MB / 240 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.463/2.463, allocations: 390.4 MB / 0.6655 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003897/0.0003902, allocations: 15.98 kB / 0.8149 GB, free: 14.06 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8661/0.8665, allocations: 142.3 MB / 0.9539 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.001124/0.8677, allocations: 0.7016 MB / 0.9546 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.8687, allocations: 0.988 MB / 0.9555 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.721e-05/0.8688, allocations: 2.938 kB / 0.9555 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.8689, allocations: 11.86 kB / 0.9555 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.472e-05/0.869, allocations: 13.39 kB / 0.9556 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.8692, allocations: 54.84 kB / 0.9556 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.8694, allocations: 149.6 kB / 0.9558 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.8695, allocations: 56.95 kB / 0.9558 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.021e-05/0.8696, allocations: 46.88 kB / 0.9559 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.088e-05/0.8697, allocations: 59.41 kB / 0.9559 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.8697, allocations: 8.906 kB / 0.9559 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.03e-05/0.8698, allocations: 6.625 kB / 0.9559 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.961e-05/0.8698, allocations: 24.53 kB / 0.9559 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.8698, allocations: 45.86 kB / 0.956 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.87, allocations: 124.2 kB / 0.9561 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.87, allocations: 1.062 kB / 0.9561 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.163e-06/0.87, allocations: 3.938 kB / 0.9561 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.87, allocations: 0 / 0.9561 GB, free: 6.316 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007156/0.8707, allocations: 457.4 kB / 0.9565 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.8708, allocations: 8.781 kB / 0.9566 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.585e-05/0.8708, allocations: 47.14 kB / 0.9566 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.471e-05/0.8709, allocations: 21.36 kB / 0.9566 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.8712, allocations: 219.1 kB / 0.9568 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.8712, allocations: 14.09 kB / 0.9568 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.582e-05/0.8713, allocations: 14.69 kB / 0.9569 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003693/0.8717, allocations: 146 kB / 0.957 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.8717, allocations: 0 / 0.957 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.8717, allocations: 10.11 kB / 0.957 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.8717, allocations: 2.969 kB / 0.957 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002883/0.872, allocations: 121.6 kB / 0.9571 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009421/0.873, allocations: 0.5387 MB / 0.9577 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003507/0.8733, allocations: 141.7 kB / 0.9578 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.8735, allocations: 91.16 kB / 0.9579 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.217e-05/0.8736, allocations: 14.7 kB / 0.9579 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002754/0.8738, allocations: 126 kB / 0.958 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=19): time 1.473e-06/0.8738, allocations: 1.188 kB / 0.958 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19): time 0.0005167/0.8744, allocations: 235.3 kB / 0.9582 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.8744, allocations: 53.66 kB / 0.9583 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.8745, allocations: 156.7 kB / 0.9584 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.8746, allocations: 39.28 kB / 0.9585 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.76e-05/0.8746, allocations: 110.9 kB / 0.9586 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.462e-05/0.8747, allocations: 62.8 kB / 0.9586 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-06/0.8747, allocations: 0 / 0.9586 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.088e-05/0.8748, allocations: 327.1 kB / 0.959 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.875, allocations: 71.17 kB / 0.959 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.8751, allocations: 96.98 kB / 0.9591 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.8753, allocations: 76 kB / 0.9592 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.8753, allocations: 0 / 0.9592 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004639/0.8758, allocations: 232.1 kB / 0.9594 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.8758, allocations: 5.5 kB / 0.9594 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.8759, allocations: 3.938 kB / 0.9594 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.8759, allocations: 1.375 kB / 0.9594 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.8761, allocations: 45 kB / 0.9595 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.8761, allocations: 5.312 kB / 0.9595 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.8762, allocations: 29.58 kB / 0.9595 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.8762, allocations: 13.48 kB / 0.9595 GB, free: 3.586 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.lesThr.lesHys.y,lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 9.353e-05/0.8763, allocations: 124.7 kB / 0.9596 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.8764, allocations: 18.64 kB / 0.9596 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003798/0.8768, allocations: 201.8 kB / 0.9598 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.8768, allocations: 2.75 kB / 0.9598 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.8768, allocations: 3.953 kB / 0.9598 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.8768, allocations: 1.375 kB / 0.9598 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007179/0.8775, allocations: 0.5948 MB / 0.9604 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.8775, allocations: 6.219 kB / 0.9604 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.8777, allocations: 36.59 kB / 0.9605 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.8777, allocations: 3 kB / 0.9605 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.8778, allocations: 7 kB / 0.9605 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.8778, allocations: 3.062 kB / 0.9605 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.8778, allocations: 10.31 kB / 0.9605 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005435/0.8783, allocations: 394.1 kB / 0.9609 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.8784, allocations: 99.28 kB / 0.961 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.8784, allocations: 3.125 kB / 0.961 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.8786, allocations: 25.25 kB / 0.961 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.109e-05/0.8786, allocations: 25.16 kB / 0.961 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.8787, allocations: 9.891 kB / 0.961 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.568e-05/0.8787, allocations: 120.8 kB / 0.9611 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8788, allocations: 0 / 0.9611 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002886/0.879, allocations: 31.84 kB / 0.9612 GB, free: 2.25 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0008311/0.8799, allocations: 0.941 MB / 0.9621 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004358/0.8803, allocations: 170.2 kB / 0.9622 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.8803, allocations: 1 kB / 0.9622 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.8805, allocations: 89.78 kB / 0.9623 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.8809, allocations: 23.8 kB / 0.9624 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.8828, allocations: 1.066 MB / 0.9634 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/0.8833, allocations: 0.7259 MB / 0.9641 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001004/0.8834, allocations: 18.7 kB / 0.9641 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.8836, allocations: 49.08 kB / 0.9642 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of SimCode: time 4.3e-07/0.8836, allocations: 5.125 kB / 0.9642 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01569/0.8993, allocations: 3.127 MB / 0.9672 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001818/0.8995, allocations: 198.1 kB / 0.9674 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/2.675, allocations: 0 / 0.9674 GB, free: 14.06 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat does not exist to compare? outputFormat=mat