Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",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.26/2.26, allocations: 390.3 MB / 405.3 MB, free: 13.34 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.00105/0.00105, allocations: 177 kB / 498.1 MB, free: 5.605 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.58/1.58, allocations: 223.2 MB / 0.7948 GB, free: 17.93 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.0008563/0.0008563, allocations: 96.27 kB / 0.9346 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003932/0.0003933, allocations: 10.23 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.334, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2067/0.5407, allocations: 148.8 MB / 1.368 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.541, allocations: 71.95 kB / 1.368 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002595/0.5436, allocations: 1.083 MB / 1.369 GB, free: 12.04 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5436, allocations: 0 / 1.369 GB, free: 12.04 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.5436, allocations: 4 kB / 1.369 GB, free: 12.04 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000405/0.5441, allocations: 379 kB / 1.37 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.5441, allocations: 8.031 kB / 1.37 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.614e-05/0.5442, allocations: 38.56 kB / 1.37 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.015e-05/0.5442, allocations: 15.84 kB / 1.37 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.5444, allocations: 174.9 kB / 1.37 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.5444, allocations: 8 kB / 1.37 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.5445, allocations: 4 kB / 1.37 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.5446, allocations: 88.64 kB / 1.37 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.5447, allocations: 4 kB / 1.37 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.5447, allocations: 8 kB / 1.37 GB, free: 11.22 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-06/0.5447, allocations: 0 / 1.37 GB, free: 11.22 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.948e-05/0.5448, allocations: 43.91 kB / 1.37 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006429/0.5454, allocations: 444.5 kB / 1.371 GB, free: 10.69 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.613e-05/0.5455, allocations: 41.28 kB / 1.371 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-06/0.5455, allocations: 4.125 kB / 1.371 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.5456, allocations: 34.55 kB / 1.371 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 3.266e-06/0.5456, allocations: 4 kB / 1.371 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001847/0.5458, allocations: 49.55 kB / 1.371 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.5458, allocations: 81.11 kB / 1.371 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.546, allocations: 147.4 kB / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.546, allocations: 29.69 kB / 1.371 GB, free: 10.24 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.149e-05/0.5461, allocations: 104.1 kB / 1.371 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.568e-06/0.5461, allocations: 3.984 kB / 1.371 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.5461, allocations: 7.938 kB / 1.371 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.5462, allocations: 323 kB / 1.371 GB, free: 9.801 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.1e-05/0.5463, allocations: 11.94 kB / 1.371 GB, free: 9.789 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.157e-05/0.5463, allocations: 21.7 kB / 1.371 GB, free: 9.762 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.312e-05/0.5463, allocations: 8 kB / 1.371 GB, free: 9.754 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.5463, allocations: 0 / 1.371 GB, free: 9.754 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001093/0.5465, allocations: 61.55 kB / 1.371 GB, free: 9.688 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.5465, allocations: 7.984 kB / 1.371 GB, free: 9.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-06/0.5465, allocations: 4.062 kB / 1.371 GB, free: 9.676 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.284e-06/0.5465, allocations: 0 / 1.371 GB, free: 9.676 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.901e-05/0.5466, allocations: 8 kB / 1.371 GB, free: 9.668 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.5466, allocations: 0 / 1.371 GB, free: 9.668 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.5e-05/0.5466, allocations: 11.84 kB / 1.371 GB, free: 9.656 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-06/0.5467, allocations: 0 / 1.371 GB, free: 9.656 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 0.0001005/0.5468, allocations: 122.8 kB / 1.372 GB, free: 9.527 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/0.5468, allocations: 8 kB / 1.372 GB, free: 9.52 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.502e-05/0.5469, allocations: 15.84 kB / 1.372 GB, free: 9.504 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.5469, allocations: 4 kB / 1.372 GB, free: 9.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.5469, allocations: 0 / 1.372 GB, free: 9.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.5469, allocations: 0 / 1.372 GB, free: 9.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000435/0.5473, allocations: 470.8 kB / 1.372 GB, free: 8.977 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.5473, allocations: 0 / 1.372 GB, free: 8.977 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.298e-05/0.5474, allocations: 4 kB / 1.372 GB, free: 8.973 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.5474, allocations: 0 / 1.372 GB, free: 8.973 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.5474, allocations: 4.062 kB / 1.372 GB, free: 8.969 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.5474, allocations: 4 kB / 1.372 GB, free: 8.965 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.5474, allocations: 3.984 kB / 1.372 GB, free: 8.961 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.5475, allocations: 91.52 kB / 1.372 GB, free: 8.844 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.819e-05/0.5476, allocations: 89 kB / 1.372 GB, free: 8.738 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.5476, allocations: 4 kB / 1.372 GB, free: 8.734 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.257e-05/0.5476, allocations: 8.031 kB / 1.372 GB, free: 8.727 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.226e-06/0.5477, allocations: 0 / 1.372 GB, free: 8.727 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.5477, allocations: 4 kB / 1.372 GB, free: 8.723 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001031/0.5478, allocations: 124.8 kB / 1.372 GB, free: 8.602 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5478, allocations: 0 / 1.372 GB, free: 8.602 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002017/0.548, allocations: 11.91 kB / 1.372 GB, free: 8.59 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0004912/0.5485, allocations: 0.699 MB / 1.373 GB, free: 7.852 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.658e-05/0.5486, allocations: 16 kB / 1.373 GB, free: 7.836 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.5486, allocations: 0 / 1.373 GB, free: 7.836 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.559e-05/0.5486, allocations: 11.94 kB / 1.373 GB, free: 7.824 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001146/0.5487, allocations: 16.22 kB / 1.373 GB, free: 7.809 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009493/0.5497, allocations: 0.6897 MB / 1.374 GB, free: 7.051 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.55, allocations: 0.6965 MB / 1.374 GB, free: 6.328 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.071e-05/0.5501, allocations: 8.422 kB / 1.374 GB, free: 6.316 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.264e-05/0.5501, allocations: 27.42 kB / 1.375 GB, free: 6.293 MB / 0.8698 GB Notification: Performance of SimCode: time 5.91e-07/0.5501, allocations: 4 kB / 1.375 GB, free: 6.289 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0123/0.5624, allocations: 1.471 MB / 1.376 GB, free: 4.953 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/0.5626, allocations: 186.7 kB / 1.376 GB, free: 4.715 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.413/1.976, allocations: 3.938 kB / 1.376 GB, free: 4.711 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat does not exist to compare? outputFormat=mat