Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.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.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_Validation_FreezeProtectionMixedAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_Validation_FreezeProtectionMixedAir",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.208/2.208, allocations: 390.3 MB / 402.8 MB, free: 6.648 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.001391/0.001391, allocations: 188.8 kB / 496.1 MB, free: 12.84 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.521/1.521, allocations: 221.3 MB / 0.7915 GB, free: 5.391 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.0009129/0.0009131, allocations: 103.9 kB / 0.9318 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.051e-05/3.053e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.288, allocations: 143 MB / 1.219 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8829/1.171, allocations: 151.9 MB / 1.367 GB, free: 2.125 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/1.171, allocations: 80.62 kB / 1.367 GB, free: 2.078 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009968/1.181, allocations: 4.085 MB / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.382e-06/1.181, allocations: 0 / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.734e-05/1.181, allocations: 8 kB / 1.371 GB, free: 14.6 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006494/1.182, allocations: 0.4931 MB / 1.372 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/1.182, allocations: 8.031 kB / 1.372 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.96e-05/1.182, allocations: 59.23 kB / 1.372 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.509e-05/1.182, allocations: 23.72 kB / 1.372 GB, free: 14 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/1.182, allocations: 275.1 kB / 1.372 GB, free: 13.72 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/1.183, allocations: 14.88 kB / 1.372 GB, free: 13.71 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.273e-05/1.183, allocations: 26.88 kB / 1.372 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003773/1.183, allocations: 225 kB / 1.372 GB, free: 13.53 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/1.183, allocations: 0 / 1.372 GB, free: 13.53 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/1.183, allocations: 15.38 kB / 1.372 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/1.183, allocations: 4 kB / 1.372 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002627/1.183, allocations: 139.7 kB / 1.373 GB, free: 13.44 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/1.185, allocations: 0.8797 MB / 1.373 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008182/1.185, allocations: 280.7 kB / 1.374 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/1.186, allocations: 84.17 kB / 1.374 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/1.186, allocations: 0 / 1.374 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/1.186, allocations: 95.45 kB / 1.374 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.754e-06/1.186, allocations: 0 / 1.374 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.0002817/1.186, allocations: 143.8 kB / 1.374 GB, free: 12.21 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/1.186, allocations: 89.05 kB / 1.374 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/1.186, allocations: 241.2 kB / 1.374 GB, free: 11.91 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/1.186, allocations: 25.7 kB / 1.374 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.577e-05/1.186, allocations: 161 kB / 1.374 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/1.186, allocations: 50.55 kB / 1.375 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/1.186, allocations: 3.438 kB / 1.375 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.804e-05/1.187, allocations: 328.6 kB / 1.375 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.903e-05/1.187, allocations: 45.92 kB / 1.375 GB, free: 11.36 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.295e-05/1.187, allocations: 78.22 kB / 1.375 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.561e-05/1.187, allocations: 53 kB / 1.375 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.187, allocations: 4 kB / 1.375 GB, free: 11.26 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002608/1.187, allocations: 170.7 kB / 1.375 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.571e-05/1.187, allocations: 181.9 kB / 1.375 GB, free: 10.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/1.187, allocations: 0 / 1.375 GB, free: 10.94 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/1.187, allocations: 4 kB / 1.375 GB, free: 10.94 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/1.187, allocations: 39.91 kB / 1.375 GB, free: 10.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/1.187, allocations: 0 / 1.375 GB, free: 10.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/1.188, allocations: 39.03 kB / 1.375 GB, free: 10.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/1.188, allocations: 4 kB / 1.375 GB, free: 10.86 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/1.188, allocations: 1.719 kB / 1.375 GB, free: 10.86 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001783/1.188, allocations: 108.5 kB / 1.376 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-06/1.188, allocations: 0 / 1.376 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.962e-06/1.188, allocations: 4 kB / 1.376 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/1.188, allocations: 31.92 kB / 1.376 GB, free: 10.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/1.188, allocations: 4 kB / 1.376 GB, free: 10.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/1.188, allocations: 23.25 kB / 1.376 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/1.188, allocations: 7.938 kB / 1.376 GB, free: 10.73 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.196e-05/1.188, allocations: 119.2 kB / 1.376 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.497e-05/1.188, allocations: 23.67 kB / 1.376 GB, free: 10.59 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.958e-05/1.188, allocations: 28.83 kB / 1.376 GB, free: 10.57 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/1.188, allocations: 0 / 1.376 GB, free: 10.57 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.188, allocations: 0 / 1.376 GB, free: 10.57 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/1.188, allocations: 7.984 kB / 1.376 GB, free: 10.56 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004987/1.189, allocations: 0.5368 MB / 1.376 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/1.189, allocations: 4 kB / 1.376 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/1.189, allocations: 35.91 kB / 1.376 GB, free: 10.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/1.189, allocations: 4 kB / 1.376 GB, free: 10.03 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/1.189, allocations: 3.562 kB / 1.376 GB, free: 10.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/1.189, allocations: 0 / 1.376 GB, free: 10.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/1.189, allocations: 0 / 1.376 GB, free: 10.03 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003563/1.189, allocations: 312.3 kB / 1.377 GB, free: 9.777 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.022e-05/1.19, allocations: 108.1 kB / 1.377 GB, free: 9.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/1.19, allocations: 4 kB / 1.377 GB, free: 9.656 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/1.19, allocations: 15.73 kB / 1.377 GB, free: 9.645 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/1.19, allocations: 7.984 kB / 1.377 GB, free: 9.637 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/1.19, allocations: 7.125 kB / 1.377 GB, free: 9.633 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001728/1.19, allocations: 190.5 kB / 1.377 GB, free: 9.484 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.9e-07/1.19, allocations: 3.938 kB / 1.377 GB, free: 9.48 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003349/1.19, allocations: 78.53 kB / 1.377 GB, free: 9.41 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (freProTMix.con.I.y) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0006083/1.191, allocations: 0.858 MB / 1.378 GB, free: 8.602 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003314/1.191, allocations: 181.1 kB / 1.378 GB, free: 8.48 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/1.191, allocations: 4 kB / 1.378 GB, free: 8.477 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.384e-05/1.191, allocations: 62.92 kB / 1.378 GB, free: 8.434 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/1.192, allocations: 38.81 kB / 1.378 GB, free: 8.402 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007667/1.192, allocations: 347.2 kB / 1.379 GB, free: 8.074 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/1.193, allocations: 0.7526 MB / 1.379 GB, free: 7.293 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001716/1.193, allocations: 38.03 kB / 1.379 GB, free: 7.254 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.569e-05/1.193, allocations: 76.28 kB / 1.379 GB, free: 7.23 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.193, allocations: 0 / 1.379 GB, free: 7.23 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01566/1.209, allocations: 4.678 MB / 1.384 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001533/1.209, allocations: 204 kB / 1.384 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/2.87, allocations: 0 / 1.384 GB, free: 2.562 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_Validation_FreezeProtectionMixedAir_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_Validation_FreezeProtectionMixedAir.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir_res.mat does not exist to compare? outputFormat=mat