Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.221/2.221, allocations: 390.3 MB / 402.8 MB, free: 6.676 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.001202/0.001202, allocations: 180.8 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 221.3 MB / 0.7915 GB, free: 5.387 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.000862/0.000862, allocations: 95.08 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.562e-05/3.564e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3447, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.112/1.457, allocations: 149.6 MB / 1.365 GB, free: 4.523 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/1.457, allocations: 60.41 kB / 1.365 GB, free: 4.492 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002842/1.46, allocations: 1.095 MB / 1.366 GB, free: 3.527 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.744e-06/1.46, allocations: 0 / 1.366 GB, free: 3.527 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.275e-05/1.46, allocations: 4 kB / 1.366 GB, free: 3.523 MB / 0.823 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.0003896/1.46, allocations: 353.9 kB / 1.366 GB, free: 3.141 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/1.46, allocations: 12.03 kB / 1.366 GB, free: 3.129 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.306e-05/1.46, allocations: 34.44 kB / 1.366 GB, free: 3.09 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.057e-05/1.46, allocations: 23.84 kB / 1.366 GB, free: 3.066 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/1.461, allocations: 179.6 kB / 1.367 GB, free: 2.852 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/1.461, allocations: 7.312 kB / 1.367 GB, free: 2.848 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/1.461, allocations: 4 kB / 1.367 GB, free: 2.844 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/1.461, allocations: 89.44 kB / 1.367 GB, free: 2.766 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/1.461, allocations: 0 / 1.367 GB, free: 2.766 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/1.461, allocations: 7.312 kB / 1.367 GB, free: 2.762 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/1.461, allocations: 4 kB / 1.367 GB, free: 2.758 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.983e-05/1.461, allocations: 38.73 kB / 1.367 GB, free: 2.73 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006477/1.462, allocations: 448.7 kB / 1.367 GB, free: 2.273 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.181e-05/1.462, allocations: 41.34 kB / 1.367 GB, free: 2.215 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.016e-05/1.462, allocations: 21.2 kB / 1.367 GB, free: 2.191 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/1.462, allocations: 0 / 1.367 GB, free: 2.191 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/1.462, allocations: 37.88 kB / 1.367 GB, free: 2.148 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.733e-06/1.462, allocations: 4 kB / 1.367 GB, free: 2.145 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.00017/1.462, allocations: 41.55 kB / 1.367 GB, free: 2.098 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/1.462, allocations: 84.67 kB / 1.367 GB, free: 2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/1.462, allocations: 140.9 kB / 1.368 GB, free: 1.871 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/1.462, allocations: 36.88 kB / 1.368 GB, free: 1.832 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 8.221e-05/1.462, allocations: 100.7 kB / 1.368 GB, free: 1.738 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.085e-05/1.462, allocations: 7.891 kB / 1.368 GB, free: 1.73 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-06/1.462, allocations: 0 / 1.368 GB, free: 1.73 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.463, allocations: 328.1 kB / 1.368 GB, free: 1.406 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.238e-05/1.463, allocations: 10.38 kB / 1.368 GB, free: 1.398 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.292e-05/1.463, allocations: 16.28 kB / 1.368 GB, free: 1.379 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.63e-05/1.463, allocations: 11.42 kB / 1.368 GB, free: 1.371 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.463, allocations: 0 / 1.368 GB, free: 1.371 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001051/1.463, allocations: 57.42 kB / 1.368 GB, free: 1.312 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/1.463, allocations: 8.062 kB / 1.368 GB, free: 1.305 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/1.463, allocations: 0 / 1.368 GB, free: 1.305 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/1.463, allocations: 4 kB / 1.368 GB, free: 1.301 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.062e-05/1.463, allocations: 12.23 kB / 1.368 GB, free: 1.293 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/1.463, allocations: 0 / 1.368 GB, free: 1.293 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.395e-05/1.463, allocations: 11.84 kB / 1.368 GB, free: 1.281 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/1.463, allocations: 224 / 1.368 GB, free: 1.281 MB / 0.823 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 () * 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 8.474e-05/1.463, allocations: 109.6 kB / 1.368 GB, free: 1.168 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.075e-05/1.463, allocations: 11.84 kB / 1.368 GB, free: 1.156 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/1.463, allocations: 11.53 kB / 1.368 GB, free: 1.148 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/1.463, allocations: 0 / 1.368 GB, free: 1.148 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.463, allocations: 7.984 kB / 1.368 GB, free: 1.141 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.463, allocations: 0.9688 kB / 1.368 GB, free: 1.141 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004066/1.464, allocations: 467.7 kB / 1.369 GB, free: 0.6367 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/1.464, allocations: 3.984 kB / 1.369 GB, free: 0.6328 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.267e-05/1.464, allocations: 4 kB / 1.369 GB, free: 0.6289 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/1.464, allocations: 0 / 1.369 GB, free: 0.6289 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/1.464, allocations: 4.062 kB / 1.369 GB, free: 0.625 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/1.464, allocations: 7.938 kB / 1.369 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/1.464, allocations: 0 / 1.369 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.981e-05/1.464, allocations: 98.5 kB / 1.369 GB, free: 0.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.278e-05/1.464, allocations: 84.27 kB / 1.369 GB, free: 412 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/1.464, allocations: 12.02 kB / 1.369 GB, free: 400 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.101e-05/1.464, allocations: 0 / 1.369 GB, free: 400 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.682e-05/1.464, allocations: 0 / 1.369 GB, free: 400 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-06/1.464, allocations: 7.953 kB / 1.369 GB, free: 392 kB / 0.823 GB Notification: Performance of sorting global known variables: time 9.501e-05/1.464, allocations: 119.2 kB / 1.369 GB, free: 288 kB / 0.823 GB Notification: Performance of sort global known variables: time 2.4e-07/1.464, allocations: 0 / 1.369 GB, free: 288 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001871/1.464, allocations: 8 kB / 1.369 GB, free: 280 kB / 0.823 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 () * 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.0004918/1.465, allocations: 0.6971 MB / 1.37 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.374e-05/1.465, allocations: 10.62 kB / 1.37 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.465, allocations: 0 / 1.37 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.486e-05/1.465, allocations: 11.44 kB / 1.37 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001261/1.465, allocations: 17.11 kB / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004409/1.465, allocations: 139.7 kB / 1.37 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/1.466, allocations: 0.6965 MB / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.572e-05/1.466, allocations: 8.422 kB / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.421e-05/1.466, allocations: 21.12 kB / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of SimCode: time 6.82e-07/1.466, allocations: 4 kB / 1.371 GB, free: 14.6 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01672/1.483, allocations: 1.437 MB / 1.372 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002608/1.483, allocations: 171 kB / 1.372 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/3.143, allocations: 0 / 1.372 GB, free: 13.07 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat does not exist to compare? outputFormat=mat