Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Min,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",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.008497/0.008497, allocations: 102 kB / 15.73 MB, free: 6.035 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.001861/0.001861, allocations: 196.4 kB / 16.68 MB, free: 5.953 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.858/1.858, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.526/3.526, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 67.89 kB / 0.9505 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8691/0.8708, allocations: 140.4 MB / 1.088 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Min): time 0.002039/0.8729, allocations: 0.7055 MB / 1.088 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009626/0.8739, allocations: 0.8071 MB / 1.089 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.096e-05/0.874, allocations: 1.125 kB / 1.089 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.792e-05/0.874, allocations: 3.938 kB / 1.089 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.305e-05/0.8741, allocations: 5.906 kB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001039/0.8742, allocations: 9.906 kB / 1.089 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.8743, allocations: 48.66 kB / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.8745, allocations: 11.47 kB / 1.089 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.169e-05/0.8745, allocations: 24.17 kB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.726e-05/0.8746, allocations: 19.11 kB / 1.089 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.8746, allocations: 3.469 kB / 1.089 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.463e-05/0.8747, allocations: 4.781 kB / 1.089 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.174e-05/0.8747, allocations: 6.344 kB / 1.089 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.727e-05/0.8747, allocations: 21.86 kB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.8749, allocations: 44.66 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.8749, allocations: 0 / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8749, allocations: 1.094 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.8749, allocations: 0 / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005166/0.8754, allocations: 362.5 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.8755, allocations: 9.188 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.797e-05/0.8755, allocations: 36.47 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.851e-05/0.8755, allocations: 7.984 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.808e-05/0.8756, allocations: 164.6 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.8756, allocations: 1.781 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.8757, allocations: 5.688 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.876, allocations: 76.28 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.876, allocations: 5.094 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.876, allocations: 4 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.876, allocations: 0.9375 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003902/0.8764, allocations: 66.69 kB / 1.09 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003363/0.8768, allocations: 273.3 kB / 1.09 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.877, allocations: 60.31 kB / 1.09 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/0.8773, allocations: 37.53 kB / 1.09 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.8773, allocations: 0.8438 kB / 1.09 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.8773, allocations: 35.95 kB / 1.09 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.8773, allocations: 0 / 1.09 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0007219/0.8781, allocations: 124 kB / 1.09 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.8781, allocations: 56.64 kB / 1.09 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.96e-05/0.8782, allocations: 111.9 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.287e-06/0.8782, allocations: 25.7 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.863e-05/0.8782, allocations: 87.58 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.8783, allocations: 13.86 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.8783, allocations: 17.55 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.535e-05/0.8784, allocations: 313.7 kB / 1.091 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.8786, allocations: 35.58 kB / 1.091 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.8788, allocations: 30.73 kB / 1.091 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003761/0.8792, allocations: 70.3 kB / 1.091 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.8792, allocations: 1.094 kB / 1.091 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004279/0.8796, allocations: 102.2 kB / 1.091 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.8797, allocations: 5.484 kB / 1.091 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.8797, allocations: 1.234 kB / 1.091 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.8797, allocations: 3.984 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.8799, allocations: 20.03 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.8799, allocations: 0.9375 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.88, allocations: 12.28 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.88, allocations: 4.656 kB / 1.091 GB, free: 2.285 MB / 0.8575 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 5.986e-05/0.8801, allocations: 112.7 kB / 1.091 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.8801, allocations: 6.312 kB / 1.091 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004772/0.8806, allocations: 104.8 kB / 1.091 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.8806, allocations: 0 / 1.091 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.8807, allocations: 5.312 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.8807, allocations: 0.7031 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.8809, allocations: 178.5 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.8809, allocations: 0 / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.881, allocations: 15.86 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.881, allocations: 4.688 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.881, allocations: 0.9062 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.8811, allocations: 4.594 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.8811, allocations: 0.7031 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004851/0.8816, allocations: 198.4 kB / 1.092 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.254e-05/0.8816, allocations: 82.53 kB / 1.092 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.8816, allocations: 1.766 kB / 1.092 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.8818, allocations: 14.78 kB / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/0.8819, allocations: 8.781 kB / 1.092 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.8819, allocations: 4.625 kB / 1.092 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.377e-05/0.8819, allocations: 84.05 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8819, allocations: 0 / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003757/0.8823, allocations: 10.16 kB / 1.092 GB, free: 1.559 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 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.0007847/0.8831, allocations: 0.7325 MB / 1.093 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004678/0.8836, allocations: 67.02 kB / 1.093 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8836, allocations: 0 / 1.093 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.8838, allocations: 42.36 kB / 1.093 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.8843, allocations: 5.703 kB / 1.093 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005877/0.8849, allocations: 151.8 kB / 1.093 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.8852, allocations: 0.6807 MB / 1.094 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.188e-05/0.8852, allocations: 6.188 kB / 1.094 GB, free: 16.01 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.8853, allocations: 18.08 kB / 1.094 GB, free: 16 MB / 0.8731 GB Notification: Performance of SimCode: time 3.21e-07/0.8853, allocations: 1.125 kB / 1.094 GB, free: 16 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4569/1.342, allocations: 1.634 MB / 1.095 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.52/19.86, allocations: 4.531 kB / 1.095 GB, free: 15.6 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches