Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.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.From_psi,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",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.186/2.186, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001044/0.001044, allocations: 176.1 kB / 496.1 MB, free: 12.88 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.702/1.702, allocations: 221.3 MB / 0.7915 GB, free: 5.426 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.001035/0.001035, allocations: 87.97 kB / 0.9317 GB, free: 5.734 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.778e-05/3.806e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3931, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9874/1.381, allocations: 149.6 MB / 1.365 GB, free: 4.504 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001866/1.381, allocations: 65.64 kB / 1.365 GB, free: 4.469 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002598/1.383, allocations: 1.095 MB / 1.366 GB, free: 3.508 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.673e-06/1.383, allocations: 0 / 1.366 GB, free: 3.508 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.33e-05/1.383, allocations: 4 kB / 1.366 GB, free: 3.504 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.000347/1.384, allocations: 354.5 kB / 1.366 GB, free: 3.117 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/1.384, allocations: 16.03 kB / 1.366 GB, free: 3.102 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.817e-05/1.384, allocations: 41.05 kB / 1.366 GB, free: 3.059 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/1.384, allocations: 15.86 kB / 1.366 GB, free: 3.043 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/1.384, allocations: 170.9 kB / 1.367 GB, free: 2.836 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/1.384, allocations: 11.81 kB / 1.367 GB, free: 2.828 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/1.384, allocations: 4 kB / 1.367 GB, free: 2.824 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/1.384, allocations: 92.95 kB / 1.367 GB, free: 2.742 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/1.384, allocations: 0 / 1.367 GB, free: 2.742 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/1.384, allocations: 0 / 1.367 GB, free: 2.742 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/1.384, allocations: 8 kB / 1.367 GB, free: 2.734 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.9e-05/1.384, allocations: 38.62 kB / 1.367 GB, free: 2.711 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006067/1.385, allocations: 449.6 kB / 1.367 GB, free: 2.25 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.912e-05/1.385, allocations: 40.94 kB / 1.367 GB, free: 2.195 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.518e-05/1.385, allocations: 16.78 kB / 1.367 GB, free: 2.176 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/1.385, allocations: 0 / 1.367 GB, free: 2.176 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/1.385, allocations: 38.56 kB / 1.367 GB, free: 2.129 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/1.385, allocations: 0 / 1.367 GB, free: 2.129 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001567/1.385, allocations: 48.98 kB / 1.367 GB, free: 2.078 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/1.385, allocations: 81.09 kB / 1.367 GB, free: 1.98 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/1.386, allocations: 144.8 kB / 1.368 GB, free: 1.852 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/1.386, allocations: 29.7 kB / 1.368 GB, free: 1.816 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.791e-05/1.386, allocations: 103.3 kB / 1.368 GB, free: 1.719 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 9.178e-06/1.386, allocations: 11.02 kB / 1.368 GB, free: 1.711 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.235e-06/1.386, allocations: 4.062 kB / 1.368 GB, free: 1.707 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001188/1.386, allocations: 330.7 kB / 1.368 GB, free: 1.379 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.608e-05/1.386, allocations: 4 kB / 1.368 GB, free: 1.375 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.223e-05/1.386, allocations: 21.59 kB / 1.368 GB, free: 1.352 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.17e-05/1.386, allocations: 7.812 kB / 1.368 GB, free: 1.348 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/1.386, allocations: 0 / 1.368 GB, free: 1.348 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.895e-05/1.386, allocations: 65.28 kB / 1.368 GB, free: 1.285 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/1.386, allocations: 4 kB / 1.368 GB, free: 1.281 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/1.386, allocations: 0 / 1.368 GB, free: 1.281 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/1.386, allocations: 4 kB / 1.368 GB, free: 1.277 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.2e-05/1.386, allocations: 7.938 kB / 1.368 GB, free: 1.27 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/1.386, allocations: 0 / 1.368 GB, free: 1.27 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.518e-05/1.386, allocations: 11.84 kB / 1.368 GB, free: 1.258 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/1.386, allocations: 224 / 1.368 GB, free: 1.258 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 6.39e-05/1.386, allocations: 108.9 kB / 1.368 GB, free: 1.145 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.394e-05/1.386, allocations: 15.91 kB / 1.368 GB, free: 1.129 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.898e-05/1.386, allocations: 11.45 kB / 1.368 GB, free: 1.121 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/1.386, allocations: 96 / 1.368 GB, free: 1.121 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/1.386, allocations: 7.984 kB / 1.368 GB, free: 1.113 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/1.386, allocations: 0 / 1.368 GB, free: 1.113 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003688/1.387, allocations: 469.8 kB / 1.369 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/1.387, allocations: 0 / 1.369 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.047e-05/1.387, allocations: 8.062 kB / 1.369 GB, free: 0.6016 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/1.387, allocations: 0 / 1.369 GB, free: 0.6016 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/1.387, allocations: 0.875 kB / 1.369 GB, free: 0.6016 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/1.387, allocations: 3.984 kB / 1.369 GB, free: 0.5977 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.387, allocations: 4 kB / 1.369 GB, free: 0.5938 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.76e-05/1.387, allocations: 90.52 kB / 1.369 GB, free: 496 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.71e-05/1.387, allocations: 89.03 kB / 1.369 GB, free: 388 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/1.387, allocations: 4 kB / 1.369 GB, free: 384 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.299e-05/1.387, allocations: 4 kB / 1.369 GB, free: 380 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.638e-05/1.387, allocations: 0 / 1.369 GB, free: 380 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/1.387, allocations: 7.953 kB / 1.369 GB, free: 372 kB / 0.823 GB Notification: Performance of sorting global known variables: time 9.505e-05/1.387, allocations: 120.5 kB / 1.369 GB, free: 268 kB / 0.823 GB Notification: Performance of sort global known variables: time 1.5e-07/1.387, allocations: 0 / 1.369 GB, free: 268 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001812/1.387, allocations: 8 kB / 1.369 GB, free: 260 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.0004218/1.388, allocations: 0.6948 MB / 1.37 GB, free: 15.53 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.232e-05/1.388, allocations: 14.19 kB / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/1.388, allocations: 4 kB / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.21e-05/1.388, allocations: 12.09 kB / 1.37 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001077/1.388, allocations: 8.234 kB / 1.37 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003447/1.388, allocations: 142.3 kB / 1.37 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/1.389, allocations: 0.7004 MB / 1.371 GB, free: 14.6 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.775e-05/1.389, allocations: 8.562 kB / 1.371 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.405e-05/1.389, allocations: 27.3 kB / 1.371 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of SimCode: time 4.21e-07/1.389, allocations: 0 / 1.371 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01142/1.4, allocations: 1.431 MB / 1.372 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/1.4, allocations: 160.5 kB / 1.372 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.498/2.898, allocations: 6.672 kB / 1.372 GB, free: 13.07 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat does not exist to compare? outputFormat=mat