Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_Validation_FreezeProtectionMixedAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir,fileNamePrefix="Buildings_9_Buildings_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.7/1.7, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.462/2.462, allocations: 390.2 MB / 0.6653 GB, free: 3.059 MB / 0.5138 GB Notification: Performance of FrontEnd - loaded program: time 0.0005406/0.0005407, allocations: 12 kB / 0.8146 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8384/0.8389, allocations: 142.3 MB / 0.9536 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir): time 0.001515/0.8405, allocations: 1.016 MB / 0.9546 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001577/0.8421, allocations: 1.122 MB / 0.9557 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002286/0.8424, allocations: 11.5 kB / 0.9557 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.867e-05/0.8424, allocations: 19.78 kB / 0.9557 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002324/0.8427, allocations: 42.33 kB / 0.9558 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.843, allocations: 76.09 kB / 0.9558 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003152/0.8433, allocations: 174.1 kB / 0.956 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002203/0.8435, allocations: 104.2 kB / 0.9561 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.8437, allocations: 74.89 kB / 0.9562 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.8438, allocations: 74.55 kB / 0.9562 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.8438, allocations: 7.125 kB / 0.9563 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.728e-05/0.8439, allocations: 5.656 kB / 0.9563 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.063e-05/0.8439, allocations: 42.98 kB / 0.9563 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.822e-05/0.844, allocations: 65.48 kB / 0.9564 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.8442, allocations: 326.8 kB / 0.9567 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.604e-05/0.8442, allocations: 0 / 0.9567 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.344e-06/0.8442, allocations: 0 / 0.9567 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.788e-05/0.8443, allocations: 1.656 kB / 0.9567 GB, free: 5.789 MB / 0.7169 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.0007589/0.845, allocations: 0.5202 MB / 0.9572 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.8451, allocations: 17.86 kB / 0.9572 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.265e-05/0.8452, allocations: 52.61 kB / 0.9573 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.236e-05/0.8452, allocations: 34.3 kB / 0.9573 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.8456, allocations: 291.8 kB / 0.9576 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.8457, allocations: 21.41 kB / 0.9576 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.077e-05/0.8457, allocations: 21.91 kB / 0.9576 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004484/0.8462, allocations: 228.2 kB / 0.9578 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.8462, allocations: 9.484 kB / 0.9578 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.8462, allocations: 5.156 kB / 0.9578 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.8462, allocations: 9.766 kB / 0.9578 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003755/0.8466, allocations: 157.6 kB / 0.958 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.8478, allocations: 0.8574 MB / 0.9588 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007582/0.8486, allocations: 199.2 kB / 0.959 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.8486, allocations: 5.75 kB / 0.959 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.8486, allocations: 35.81 kB / 0.9591 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.8486, allocations: 0 / 0.9591 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0004799/0.8491, allocations: 189.3 kB / 0.9592 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.8492, allocations: 56.73 kB / 0.9593 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.8494, allocations: 249.9 kB / 0.9595 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.8494, allocations: 27.08 kB / 0.9596 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.193e-05/0.8495, allocations: 161.8 kB / 0.9597 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.8495, allocations: 44.86 kB / 0.9598 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.015e-06/0.8496, allocations: 1.375 kB / 0.9598 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.744e-05/0.8496, allocations: 338.9 kB / 0.9601 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.8498, allocations: 50.09 kB / 0.9601 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.8499, allocations: 98.98 kB / 0.9602 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.8501, allocations: 75.45 kB / 0.9603 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.8501, allocations: 0 / 0.9603 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003464/0.8504, allocations: 199.8 kB / 0.9605 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.8505, allocations: 0.5221 MB / 0.961 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.8505, allocations: 6.125 kB / 0.961 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.8506, allocations: 6.328 kB / 0.961 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.8507, allocations: 33.81 kB / 0.961 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.8507, allocations: 6.406 kB / 0.961 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.8509, allocations: 20.53 kB / 0.9611 GB, free: 2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.8509, allocations: 4.25 kB / 0.9611 GB, free: 2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/0.8509, allocations: 4.938 kB / 0.9611 GB, free: 2 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002525/0.8512, allocations: 153.5 kB / 0.9612 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.8512, allocations: 1.312 kB / 0.9612 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.22e-06/0.8512, allocations: 2.625 kB / 0.9612 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.8513, allocations: 33.48 kB / 0.9613 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-06/0.8513, allocations: 3.312 kB / 0.9613 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.333e-05/0.8514, allocations: 21.11 kB / 0.9613 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.8514, allocations: 13.45 kB / 0.9613 GB, free: 1.895 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (freProTMix.con.con1.y,freProTMix.con.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 0.0001237/0.8516, allocations: 224.5 kB / 0.9615 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.204e-05/0.8516, allocations: 20.97 kB / 0.9615 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.127e-05/0.8517, allocations: 23.64 kB / 0.9615 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.8517, allocations: 1.094 kB / 0.9616 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.8517, allocations: 4.75 kB / 0.9616 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.8517, allocations: 0 / 0.9616 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002656/0.852, allocations: 311.5 kB / 0.9619 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.852, allocations: 1.125 kB / 0.9619 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.8521, allocations: 30.86 kB / 0.9619 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.8521, allocations: 1 kB / 0.9619 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.8522, allocations: 1.031 kB / 0.9619 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.8522, allocations: 0.9688 kB / 0.9619 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.8522, allocations: 0 / 0.9619 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004745/0.8527, allocations: 319.6 kB / 0.9622 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.202e-05/0.8527, allocations: 102.6 kB / 0.9623 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.8528, allocations: 1.156 kB / 0.9623 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.8529, allocations: 8 kB / 0.9623 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.8529, allocations: 7.484 kB / 0.9623 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.8529, allocations: 6.469 kB / 0.9623 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001734/0.8531, allocations: 175.7 kB / 0.9625 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8531, allocations: 1 kB / 0.9625 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000484/0.8536, allocations: 80.03 kB / 0.9626 GB, free: 0.8242 MB / 0.7169 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0006832/0.8543, allocations: 0.8476 MB / 0.9634 GB, free: 68 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004738/0.8548, allocations: 199.8 kB / 0.9636 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8548, allocations: 1 kB / 0.9636 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.855, allocations: 62.91 kB / 0.9636 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.8553, allocations: 44.42 kB / 0.9637 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/0.8579, allocations: 2.017 MB / 0.9656 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.8582, allocations: 0.7518 MB / 0.9664 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001389/0.8584, allocations: 30.39 kB / 0.9664 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.8585, allocations: 78.25 kB / 0.9665 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of SimCode: time 5.01e-07/0.8585, allocations: 0 / 0.9665 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01695/0.8755, allocations: 4.062 MB / 0.9705 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001915/0.8757, allocations: 211.4 kB / 0.9707 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.728/2.603, allocations: 3.938 kB / 0.9707 GB, free: 11.38 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_Validation_FreezeProtectionMixedAir_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_Validation_FreezeProtectionMixedAir.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir_res.mat does not exist to compare? outputFormat=mat