Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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_quad,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",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.245/2.245, 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.001281/0.001281, allocations: 180.9 kB / 496.1 MB, free: 12.86 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.542/1.542, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.0009045/0.0009045, allocations: 92.02 kB / 0.9317 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.054e-05/4.073e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2825, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8893/1.172, allocations: 149.6 MB / 1.365 GB, free: 4.438 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/1.172, allocations: 61.97 kB / 1.365 GB, free: 4.406 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002578/1.175, allocations: 1.083 MB / 1.366 GB, free: 3.449 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.673e-06/1.175, allocations: 0 / 1.366 GB, free: 3.449 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.091e-05/1.175, allocations: 4 kB / 1.366 GB, free: 3.445 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.0004127/1.175, allocations: 361.1 kB / 1.366 GB, free: 3.055 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.953e-05/1.175, allocations: 8.031 kB / 1.366 GB, free: 3.047 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.488e-05/1.175, allocations: 41.56 kB / 1.366 GB, free: 3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.533e-05/1.175, allocations: 14.61 kB / 1.366 GB, free: 2.988 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/1.176, allocations: 178.8 kB / 1.367 GB, free: 2.773 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/1.176, allocations: 11.06 kB / 1.367 GB, free: 2.766 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/1.176, allocations: 7.984 kB / 1.367 GB, free: 2.758 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/1.176, allocations: 90.94 kB / 1.367 GB, free: 2.68 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/1.176, allocations: 0 / 1.367 GB, free: 2.68 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/1.176, allocations: 0 / 1.367 GB, free: 2.68 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/1.176, allocations: 4 kB / 1.367 GB, free: 2.676 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.5e-05/1.176, allocations: 42.56 kB / 1.367 GB, free: 2.648 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007791/1.177, allocations: 457.4 kB / 1.367 GB, free: 2.184 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.659e-05/1.177, allocations: 37.25 kB / 1.367 GB, free: 2.129 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.261e-05/1.177, allocations: 17.53 kB / 1.367 GB, free: 2.109 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.928e-06/1.177, allocations: 0 / 1.367 GB, free: 2.109 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/1.177, allocations: 38.55 kB / 1.367 GB, free: 2.062 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/1.177, allocations: 4 kB / 1.367 GB, free: 2.059 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0002042/1.177, allocations: 49.17 kB / 1.367 GB, free: 2.008 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/1.177, allocations: 77.11 kB / 1.367 GB, free: 1.914 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/1.177, allocations: 148.5 kB / 1.368 GB, free: 1.781 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/1.177, allocations: 25.7 kB / 1.368 GB, free: 1.75 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 9.317e-05/1.178, allocations: 106.4 kB / 1.368 GB, free: 1.652 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 9.948e-06/1.178, allocations: 3.906 kB / 1.368 GB, free: 1.648 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/1.178, allocations: 64 / 1.368 GB, free: 1.648 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002039/1.178, allocations: 330 kB / 1.368 GB, free: 1.32 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.88e-05/1.178, allocations: 7.375 kB / 1.368 GB, free: 1.316 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.302e-05/1.178, allocations: 21.09 kB / 1.368 GB, free: 1.293 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.707e-05/1.178, allocations: 11.36 kB / 1.368 GB, free: 1.285 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/1.178, allocations: 0 / 1.368 GB, free: 1.285 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.537e-05/1.178, allocations: 56.61 kB / 1.368 GB, free: 1.23 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/1.178, allocations: 8 kB / 1.368 GB, free: 1.223 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/1.178, allocations: 4 kB / 1.368 GB, free: 1.219 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/1.178, allocations: 0 / 1.368 GB, free: 1.219 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.085e-05/1.178, allocations: 11.92 kB / 1.368 GB, free: 1.207 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/1.178, allocations: 0.875 kB / 1.368 GB, free: 1.207 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.344e-05/1.178, allocations: 11.84 kB / 1.368 GB, free: 1.195 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/1.178, allocations: 224 / 1.368 GB, free: 1.195 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.409e-05/1.178, allocations: 108.9 kB / 1.368 GB, free: 1.082 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.07e-05/1.178, allocations: 11.84 kB / 1.368 GB, free: 1.07 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.797e-05/1.178, allocations: 11.28 kB / 1.368 GB, free: 1.062 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/1.178, allocations: 4 kB / 1.368 GB, free: 1.059 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.178, allocations: 0 / 1.368 GB, free: 1.059 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/1.178, allocations: 0 / 1.368 GB, free: 1.059 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004433/1.179, allocations: 482.9 kB / 1.369 GB, free: 0.543 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/1.179, allocations: 0 / 1.369 GB, free: 0.543 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.169e-05/1.179, allocations: 4 kB / 1.369 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/1.179, allocations: 4.062 kB / 1.369 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/1.179, allocations: 0 / 1.369 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/1.179, allocations: 0 / 1.369 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.179, allocations: 4 kB / 1.369 GB, free: 0.5312 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/1.179, allocations: 93.69 kB / 1.369 GB, free: 428 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.44e-05/1.179, allocations: 85.02 kB / 1.369 GB, free: 324 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/1.179, allocations: 4.031 kB / 1.369 GB, free: 320 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.165e-05/1.179, allocations: 3.984 kB / 1.369 GB, free: 316 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.464e-05/1.179, allocations: 0 / 1.369 GB, free: 316 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/1.179, allocations: 11.2 kB / 1.369 GB, free: 308 kB / 0.823 GB Notification: Performance of sorting global known variables: time 9.051e-05/1.179, allocations: 116.9 kB / 1.369 GB, free: 204 kB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/1.179, allocations: 0 / 1.369 GB, free: 204 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001778/1.179, allocations: 8 kB / 1.369 GB, free: 196 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.0005364/1.18, allocations: 0.6947 MB / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.313e-05/1.18, allocations: 18 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.18, allocations: 0 / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.55e-05/1.18, allocations: 12.16 kB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001214/1.18, allocations: 9.828 kB / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003996/1.181, allocations: 140.3 kB / 1.37 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/1.181, allocations: 0.6965 MB / 1.371 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.724e-05/1.181, allocations: 8.422 kB / 1.371 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.413e-05/1.181, allocations: 26.19 kB / 1.371 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of SimCode: time 3.31e-07/1.181, allocations: 0 / 1.371 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01332/1.194, allocations: 1.443 MB / 1.372 GB, free: 13.22 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/1.195, allocations: 167.8 kB / 1.372 GB, free: 13 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.475/2.67, allocations: 4 kB / 1.372 GB, free: 12.99 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat does not exist to compare? outputFormat=mat