Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.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.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u",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.001276/0.001276, 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.001529/0.001529, 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.467/1.467, allocations: 223.2 MB / 239.9 MB, free: 5.328 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.584/2.584, allocations: 390.2 MB / 0.6653 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004143/0.0004145, allocations: 8 kB / 0.8147 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8219/0.8224, allocations: 142.3 MB / 0.9537 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u): time 0.005182/0.8276, allocations: 3.512 MB / 0.9571 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005142/0.8328, allocations: 2.097 MB / 0.9591 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001811/0.8347, allocations: 33.53 kB / 0.9592 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003462/0.835, allocations: 102.8 kB / 0.9593 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008264/0.8359, allocations: 105.5 kB / 0.9594 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.837, allocations: 489.6 kB / 0.9598 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001209/0.8382, allocations: 0.9679 MB / 0.9608 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000967/0.8392, allocations: 0.6948 MB / 0.9615 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004535/0.8396, allocations: 384.2 kB / 0.9618 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004619/0.8401, allocations: 0.5049 MB / 0.9623 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.8403, allocations: 53.72 kB / 0.9624 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.8404, allocations: 49.84 kB / 0.9624 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000177/0.8406, allocations: 231 kB / 0.9626 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001802/0.8407, allocations: 254.6 kB / 0.9629 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.8423, allocations: 2.072 MB / 0.9649 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.8423, allocations: 0 / 0.9649 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.525e-06/0.8423, allocations: 0 / 0.9649 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.184e-05/0.8423, allocations: 1.281 kB / 0.9649 GB, free: 15.14 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.003189/0.8455, allocations: 1.642 MB / 0.9665 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.8456, allocations: 9.406 kB / 0.9665 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002681/0.8459, allocations: 237.3 kB / 0.9667 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003358/0.8462, allocations: 183.9 kB / 0.9669 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.8476, allocations: 0.8977 MB / 0.9678 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.8478, allocations: 122 kB / 0.9679 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002094/0.848, allocations: 159.3 kB / 0.9681 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002911/0.8509, allocations: 1.424 MB / 0.9695 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/0.851, allocations: 0 / 0.9695 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/0.8511, allocations: 68.44 kB / 0.9695 GB, free: 12 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.037e-05/0.8511, allocations: 43.27 kB / 0.9696 GB, free: 12 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002905/0.8541, allocations: 1.38 MB / 0.9709 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007956/0.862, allocations: 4.076 MB / 0.9749 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002662/0.8648, allocations: 1.17 MB / 0.976 GB, free: 7.887 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.056e-05/0.8648, allocations: 23.59 kB / 0.9761 GB, free: 7.879 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.8649, allocations: 44.25 kB / 0.9761 GB, free: 7.832 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=122): time 3.046e-06/0.8649, allocations: 1.688 kB / 0.9761 GB, free: 7.832 MB / 0.7325 GB Notification: Performance of matching and sorting (n=122): time 0.003167/0.8681, allocations: 1.438 MB / 0.9775 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.8681, allocations: 67.84 kB / 0.9776 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.8693, allocations: 0.8717 MB / 0.9784 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.894e-05/0.8694, allocations: 53.69 kB / 0.9785 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004677/0.8699, allocations: 0.6547 MB / 0.9791 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003087/0.8702, allocations: 417.9 kB / 0.9795 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.693e-05/0.8702, allocations: 32 kB / 0.9795 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.8704, allocations: 353.9 kB / 0.9799 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000878/0.8713, allocations: 423.8 kB / 0.9803 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/0.8724, allocations: 0.7695 MB / 0.981 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.8734, allocations: 0.5216 MB / 0.9815 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.8735, allocations: 0 / 0.9815 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002491/0.876, allocations: 1.386 MB / 0.9829 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.001439/0.8774, allocations: 3.671 MB / 0.9865 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.8774, allocations: 8 kB / 0.9865 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.396e-05/0.8775, allocations: 20 kB / 0.9865 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.8787, allocations: 347.5 kB / 0.9868 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.802e-05/0.8787, allocations: 23.92 kB / 0.9869 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008667/0.8796, allocations: 206.1 kB / 0.9871 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.384e-05/0.8797, allocations: 55.98 kB / 0.9871 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.749e-06/0.8797, allocations: 4 kB / 0.9871 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001799/0.8815, allocations: 1.144 MB / 0.9882 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.8815, allocations: 8 kB / 0.9882 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.8816, allocations: 16 kB / 0.9883 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.8826, allocations: 319.5 kB / 0.9886 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.933e-05/0.8827, allocations: 19.94 kB / 0.9886 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007496/0.8834, allocations: 154.6 kB / 0.9887 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.056e-05/0.8835, allocations: 64.05 kB / 0.9888 GB, free: 11.38 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (173): * Single equations (assignments): 173 * 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.0007162/0.8842, allocations: 392.6 kB / 0.9892 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/0.8844, allocations: 114.5 kB / 0.9893 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002469/0.8869, allocations: 1.213 MB / 0.9905 GB, free: 9.656 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.8869, allocations: 16 kB / 0.9905 GB, free: 9.641 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.8869, allocations: 0 / 0.9905 GB, free: 9.641 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.887, allocations: 7.984 kB / 0.9905 GB, free: 9.633 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006474/0.8934, allocations: 4.229 MB / 0.9946 GB, free: 5.105 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.279e-05/0.8935, allocations: 16 kB / 0.9946 GB, free: 5.09 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009502/0.8945, allocations: 267.9 kB / 0.9949 GB, free: 4.828 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-05/0.8945, allocations: 27.89 kB / 0.9949 GB, free: 4.801 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.407e-05/0.8946, allocations: 43.98 kB / 0.9949 GB, free: 4.758 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.473e-05/0.8946, allocations: 31.91 kB / 0.995 GB, free: 4.727 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.632e-05/0.8946, allocations: 19.94 kB / 0.995 GB, free: 4.707 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003115/0.8978, allocations: 2.425 MB / 0.9974 GB, free: 1.781 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002971/0.8981, allocations: 227.3 kB / 0.9976 GB, free: 1.539 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/0.8982, allocations: 47.92 kB / 0.9976 GB, free: 1.492 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006522/0.8989, allocations: 75.95 kB / 0.9977 GB, free: 1.418 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/0.8991, allocations: 124.1 kB / 0.9978 GB, free: 1.297 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-05/0.8991, allocations: 48 kB / 0.9979 GB, free: 1.25 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008986/0.9, allocations: 0.591 MB / 0.9984 GB, free: 0.6484 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.9, allocations: 0 / 0.9984 GB, free: 0.6484 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00154/0.9016, allocations: 485.9 kB / 0.9989 GB, free: 176 kB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 0 () * 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 (128): * Single equations (assignments): 128 * 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.004674/0.9063, allocations: 7.089 MB / 1.006 GB, free: 8.645 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003383/0.9097, allocations: 1.719 MB / 1.008 GB, free: 6.934 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/0.9097, allocations: 0 / 1.008 GB, free: 6.934 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001225/0.9109, allocations: 0.5961 MB / 1.008 GB, free: 6.344 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009451/0.9119, allocations: 147.4 kB / 1.008 GB, free: 6.199 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01783/0.9297, allocations: 13.64 MB / 1.022 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/0.9309, allocations: 1.171 MB / 1.023 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001196/0.9321, allocations: 213.8 kB / 1.023 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000835/0.933, allocations: 0.5227 MB / 1.023 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of SimCode: time 2.525e-06/0.933, allocations: 4 kB / 1.023 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04198/0.975, allocations: 19.71 MB / 1.043 GB, free: 2.551 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/0.9752, allocations: 227.4 kB / 1.043 GB, free: 2.305 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.311/3.286, allocations: 0 / 1.043 GB, free: 2.305 MB / 0.795 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u_res.mat does not exist to compare? outputFormat=mat