Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.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.Modulo,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",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.001358/0.001357, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001331/0.001331, allocations: 177.3 kB / 15.94 MB, free: 228 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.463/1.463, allocations: 223.2 MB / 239.9 MB, free: 5.332 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.456/2.456, allocations: 390.3 MB / 0.6653 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003774, allocations: 16 kB / 0.8146 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.767/0.7674, allocations: 142.3 MB / 0.9536 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.0007674/0.7682, allocations: 420.4 kB / 0.954 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008369/0.7691, allocations: 0.8626 MB / 0.9549 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.26e-05/0.7691, allocations: 4 kB / 0.9549 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.428e-05/0.7691, allocations: 3.938 kB / 0.9549 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.916e-05/0.7692, allocations: 6.516 kB / 0.9549 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.7693, allocations: 11.23 kB / 0.9549 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.89e-05/0.7694, allocations: 27.22 kB / 0.9549 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.402e-05/0.7695, allocations: 16.72 kB / 0.9549 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.122e-05/0.7696, allocations: 4.5 kB / 0.9549 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.075e-05/0.7696, allocations: 25.33 kB / 0.9549 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.7696, allocations: 6.031 kB / 0.955 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.111e-05/0.7697, allocations: 1.781 kB / 0.955 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.215e-05/0.7697, allocations: 9.125 kB / 0.955 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.031e-05/0.7697, allocations: 27.73 kB / 0.955 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.631e-05/0.7698, allocations: 26.5 kB / 0.955 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.7698, allocations: 3.938 kB / 0.955 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7698, allocations: 0 / 0.955 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.7698, allocations: 0 / 0.955 GB, free: 6.977 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004452/0.7702, allocations: 372.3 kB / 0.9554 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.7703, allocations: 10.12 kB / 0.9554 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.132e-05/0.7703, allocations: 30.56 kB / 0.9554 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.678e-05/0.7704, allocations: 10.61 kB / 0.9554 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.093e-05/0.7705, allocations: 162 kB / 0.9556 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.7705, allocations: 4 kB / 0.9556 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.7705, allocations: 6.719 kB / 0.9556 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.7708, allocations: 84.27 kB / 0.9557 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.281e-06/0.7708, allocations: 0 / 0.9557 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.7708, allocations: 0 / 0.9557 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.7708, allocations: 1.188 kB / 0.9557 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003038/0.7711, allocations: 90.56 kB / 0.9558 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003273/0.7715, allocations: 262.5 kB / 0.956 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.7717, allocations: 70.09 kB / 0.9561 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.7717, allocations: 5.094 kB / 0.9561 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.7717, allocations: 35.72 kB / 0.9561 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.7717, allocations: 0 / 0.9561 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005791/0.7723, allocations: 163.8 kB / 0.9563 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.7724, allocations: 51.41 kB / 0.9563 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.869e-05/0.7724, allocations: 127.4 kB / 0.9564 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.7725, allocations: 25.7 kB / 0.9565 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.501e-05/0.7725, allocations: 87.02 kB / 0.9565 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.7725, allocations: 16.8 kB / 0.9566 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.7725, allocations: 0 / 0.9566 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.276e-05/0.7726, allocations: 311.9 kB / 0.9569 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.7727, allocations: 43.25 kB / 0.9569 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.7729, allocations: 42.77 kB / 0.9569 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.7731, allocations: 42.94 kB / 0.957 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.7731, allocations: 1.812 kB / 0.957 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003492/0.7734, allocations: 115.9 kB / 0.9571 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.7735, allocations: 8.703 kB / 0.9571 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/0.7735, allocations: 1.188 kB / 0.9571 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.7735, allocations: 3.953 kB / 0.9571 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.7737, allocations: 35.14 kB / 0.9571 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.7737, allocations: 4.969 kB / 0.9571 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.017e-05/0.7738, allocations: 15.11 kB / 0.9572 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.7738, allocations: 1.375 kB / 0.9572 GB, free: 5.008 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.174e-05/0.7739, allocations: 108.6 kB / 0.9573 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.7739, allocations: 9.156 kB / 0.9573 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.616e-05/0.7739, allocations: 13.3 kB / 0.9573 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.774, allocations: 0 / 0.9573 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.774, allocations: 5.297 kB / 0.9573 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.774, allocations: 336 / 0.9573 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.7741, allocations: 165.4 kB / 0.9574 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.7741, allocations: 0 / 0.9574 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.7742, allocations: 23.81 kB / 0.9575 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.7742, allocations: 4 kB / 0.9575 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.7743, allocations: 1.25 kB / 0.9575 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.7743, allocations: 0 / 0.9575 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.7743, allocations: 3.984 kB / 0.9575 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003546/0.7746, allocations: 220 kB / 0.9577 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.172e-05/0.7747, allocations: 82.2 kB / 0.9578 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.7747, allocations: 5.047 kB / 0.9578 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.7748, allocations: 19.27 kB / 0.9578 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.7749, allocations: 2.312 kB / 0.9578 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-06/0.7749, allocations: 1.062 kB / 0.9578 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.295e-05/0.7749, allocations: 93 kB / 0.9579 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7749, allocations: 5.156 kB / 0.9579 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002265/0.7751, allocations: 5.531 kB / 0.9579 GB, free: 4.277 MB / 0.7169 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 (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.0005649/0.7757, allocations: 0.7483 MB / 0.9586 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003642/0.7761, allocations: 92.92 kB / 0.9587 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.7761, allocations: 1.312 kB / 0.9587 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.7763, allocations: 42.28 kB / 0.9588 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.7765, allocations: 15.52 kB / 0.9588 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004341/0.7769, allocations: 158 kB / 0.9589 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.7771, allocations: 0.685 MB / 0.9596 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.231e-05/0.7771, allocations: 1.844 kB / 0.9596 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.541e-05/0.7772, allocations: 16.75 kB / 0.9596 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.7772, allocations: 0 / 0.9596 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01233/0.7895, allocations: 1.33 MB / 0.9609 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001364/0.7897, allocations: 183.8 kB / 0.9611 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.654/2.444, allocations: 3.234 kB / 0.9611 GB, free: 1.773 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat does not exist to compare? outputFormat=mat