Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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_degC,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",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.441/2.441, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.00139/0.00139, allocations: 173.2 kB / 498.1 MB, free: 5.766 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.597/1.597, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.000902/0.000902, allocations: 104.3 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000369/0.0003693, allocations: 10.34 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2522, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1665/0.4187, allocations: 148.9 MB / 1.368 GB, free: 13.08 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002005/0.419, allocations: 63.97 kB / 1.368 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002869/0.4218, allocations: 1.294 MB / 1.37 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.824e-06/0.4219, allocations: 3.938 kB / 1.37 GB, free: 11.72 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.4219, allocations: 4 kB / 1.37 GB, free: 11.72 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004115/0.4223, allocations: 391 kB / 1.37 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.4224, allocations: 12.03 kB / 1.37 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.596e-05/0.4224, allocations: 34.56 kB / 1.37 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.4224, allocations: 19.89 kB / 1.37 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.4226, allocations: 182.8 kB / 1.37 GB, free: 10.99 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.4226, allocations: 192 / 1.37 GB, free: 10.99 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.4226, allocations: 12 kB / 1.37 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.4228, allocations: 106.4 kB / 1.37 GB, free: 10.87 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.4228, allocations: 4 kB / 1.37 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.4229, allocations: 4 kB / 1.37 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.4229, allocations: 4 kB / 1.37 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.329e-05/0.423, allocations: 47.92 kB / 1.37 GB, free: 10.81 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005818/0.4236, allocations: 484.6 kB / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.849e-05/0.4236, allocations: 57.14 kB / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.4237, allocations: 0 / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.4237, allocations: 38.62 kB / 1.371 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.4237, allocations: 0 / 1.371 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0001829/0.4239, allocations: 69.53 kB / 1.371 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.4239, allocations: 81.11 kB / 1.371 GB, free: 9.988 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.4241, allocations: 153.3 kB / 1.371 GB, free: 9.824 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.4241, allocations: 25.7 kB / 1.371 GB, free: 9.793 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.4242, allocations: 108.1 kB / 1.371 GB, free: 9.684 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/0.4242, allocations: 23.8 kB / 1.371 GB, free: 9.66 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.4242, allocations: 0 / 1.371 GB, free: 9.66 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.4243, allocations: 318.8 kB / 1.372 GB, free: 9.34 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.654e-05/0.4243, allocations: 15.98 kB / 1.372 GB, free: 9.324 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.048e-05/0.4244, allocations: 21.72 kB / 1.372 GB, free: 9.297 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.343e-05/0.4244, allocations: 15.94 kB / 1.372 GB, free: 9.281 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4244, allocations: 0 / 1.372 GB, free: 9.281 MB / 0.8698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001008/0.4245, allocations: 73.58 kB / 1.372 GB, free: 9.203 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.4246, allocations: 12 kB / 1.372 GB, free: 9.191 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.4246, allocations: 0 / 1.372 GB, free: 9.191 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.4246, allocations: 0 / 1.372 GB, free: 9.191 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.037e-05/0.4247, allocations: 11.94 kB / 1.372 GB, free: 9.18 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.4247, allocations: 0 / 1.372 GB, free: 9.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.511e-05/0.4247, allocations: 11.84 kB / 1.372 GB, free: 9.168 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.4247, allocations: 0 / 1.372 GB, free: 9.168 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 (6): * Single equations (assignments): 6 * 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.912e-05/0.4248, allocations: 117.8 kB / 1.372 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.4249, allocations: 15.98 kB / 1.372 GB, free: 9.027 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.744e-05/0.4249, allocations: 16.67 kB / 1.372 GB, free: 9.012 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.4249, allocations: 7.938 kB / 1.372 GB, free: 9.004 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4249, allocations: 4.219 kB / 1.372 GB, free: 9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4249, allocations: 0 / 1.372 GB, free: 9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004256/0.4254, allocations: 0.5159 MB / 1.373 GB, free: 8.414 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.4254, allocations: 128 / 1.373 GB, free: 8.414 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.138e-05/0.4254, allocations: 12 kB / 1.373 GB, free: 8.402 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.4254, allocations: 0 / 1.373 GB, free: 8.402 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.4254, allocations: 8 kB / 1.373 GB, free: 8.395 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4255, allocations: 0 / 1.373 GB, free: 8.395 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4255, allocations: 0 / 1.373 GB, free: 8.395 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.4256, allocations: 144.6 kB / 1.373 GB, free: 8.207 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.707e-05/0.4256, allocations: 92.97 kB / 1.373 GB, free: 8.098 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.4257, allocations: 4 kB / 1.373 GB, free: 8.094 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.893e-05/0.4257, allocations: 3.984 kB / 1.373 GB, free: 8.09 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.586e-05/0.4257, allocations: 4 kB / 1.373 GB, free: 8.086 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.4257, allocations: 0 / 1.373 GB, free: 8.086 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 9.997e-05/0.4258, allocations: 136.9 kB / 1.373 GB, free: 7.953 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4258, allocations: 0 / 1.373 GB, free: 7.953 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001912/0.426, allocations: 15.94 kB / 1.373 GB, free: 7.938 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (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 Backend phase and start with SimCode phase: time 0.0005088/0.4266, allocations: 0.8923 MB / 1.374 GB, free: 6.992 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.853e-05/0.4267, allocations: 27.94 kB / 1.374 GB, free: 6.965 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4267, allocations: 0 / 1.374 GB, free: 6.965 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.988e-05/0.4267, allocations: 8 kB / 1.374 GB, free: 6.957 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001198/0.4268, allocations: 16.23 kB / 1.374 GB, free: 6.941 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.4279, allocations: 0.7853 MB / 1.375 GB, free: 6.102 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.4282, allocations: 0.7043 MB / 1.375 GB, free: 5.371 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.203e-05/0.4283, allocations: 12.55 kB / 1.375 GB, free: 5.359 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.99e-05/0.4283, allocations: 27.42 kB / 1.375 GB, free: 5.332 MB / 0.8698 GB Notification: Performance of SimCode: time 4.71e-07/0.4283, allocations: 0 / 1.375 GB, free: 5.332 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01203/0.4404, allocations: 1.634 MB / 1.377 GB, free: 3.828 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001667/0.4406, allocations: 187.9 kB / 1.377 GB, free: 3.586 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.423/1.863, allocations: 5.625 kB / 1.377 GB, free: 3.582 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_degC_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_degC.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat does not exist to compare? outputFormat=mat