Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.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.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",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.001072/0.001072, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00124/0.00124, allocations: 168.7 kB / 15.95 MB, free: 204 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.513/1.513, allocations: 223.2 MB / 240 MB, free: 5.422 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.573/2.573, allocations: 390.4 MB / 0.6655 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003502, allocations: 11.98 kB / 0.8149 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.949/0.9494, allocations: 142.3 MB / 0.9538 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.002108/0.9515, allocations: 1.2 MB / 0.955 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00155/0.9531, allocations: 0.7644 MB / 0.9558 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.879e-05/0.9532, allocations: 1.594 kB / 0.9558 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.616e-05/0.9532, allocations: 3.938 kB / 0.9558 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.113e-05/0.9533, allocations: 13.42 kB / 0.9558 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006896/0.954, allocations: 116.7 kB / 0.9559 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.9542, allocations: 82.73 kB / 0.956 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.9543, allocations: 17.34 kB / 0.956 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.503e-05/0.9544, allocations: 32.33 kB / 0.956 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.76e-05/0.9545, allocations: 48.22 kB / 0.9561 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.9545, allocations: 4.531 kB / 0.9561 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002291/0.9548, allocations: 111.1 kB / 0.9562 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.285e-05/0.9548, allocations: 11.45 kB / 0.9562 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.939e-05/0.9548, allocations: 40.36 kB / 0.9562 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.9551, allocations: 126.9 kB / 0.9563 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.046e-06/0.9551, allocations: 3.938 kB / 0.9563 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9551, allocations: 0 / 0.9563 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.9551, allocations: 4 kB / 0.9563 GB, free: 6.203 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006848/0.9558, allocations: 469.2 kB / 0.9568 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.9558, allocations: 10.16 kB / 0.9568 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.954e-05/0.9559, allocations: 35.7 kB / 0.9568 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/0.956, allocations: 12.58 kB / 0.9569 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.9561, allocations: 179 kB / 0.957 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.9561, allocations: 7.719 kB / 0.957 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.9561, allocations: 8.797 kB / 0.957 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/0.9564, allocations: 91.81 kB / 0.9571 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.9564, allocations: 0 / 0.9571 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.9564, allocations: 0 / 0.9571 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.9564, allocations: 5.062 kB / 0.9571 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.9566, allocations: 62.02 kB / 0.9572 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005068/0.9571, allocations: 324.9 kB / 0.9575 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.9573, allocations: 91.2 kB / 0.9576 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.9574, allocations: 45.05 kB / 0.9576 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.9575, allocations: 5.094 kB / 0.9576 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002384/0.9577, allocations: 104.6 kB / 0.9577 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.9577, allocations: 0.9688 kB / 0.9577 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005081/0.9582, allocations: 201.4 kB / 0.9579 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.9583, allocations: 53.25 kB / 0.958 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.044e-05/0.9584, allocations: 133.8 kB / 0.9581 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.9584, allocations: 31.48 kB / 0.9581 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.049e-05/0.9584, allocations: 99.62 kB / 0.9582 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.9585, allocations: 15.41 kB / 0.9582 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-06/0.9585, allocations: 7.938 kB / 0.9583 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.347e-05/0.9586, allocations: 322.4 kB / 0.9586 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.885e-05/0.9586, allocations: 24.14 kB / 0.9586 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.62e-05/0.9587, allocations: 84.8 kB / 0.9587 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.32e-05/0.9588, allocations: 33 kB / 0.9587 GB, free: 4 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.9588, allocations: 1.312 kB / 0.9587 GB, free: 4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002414/0.9591, allocations: 131.3 kB / 0.9588 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.9591, allocations: 10.42 kB / 0.9588 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.9591, allocations: 0.875 kB / 0.9588 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.9591, allocations: 2.562 kB / 0.9588 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.328e-05/0.9592, allocations: 20.36 kB / 0.9589 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.9593, allocations: 5.719 kB / 0.9589 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.566e-05/0.9593, allocations: 14.75 kB / 0.9589 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.9593, allocations: 4.625 kB / 0.9589 GB, free: 3.898 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.ac.curSeed,ac.curSeed,$PRE.ac.pOff,ac.pOff,$PRE.ac.pOn,ac.pOn,$PRE.ac.on,ac.on,occ.y,$whenCondition1,ac.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.398e-05/0.9594, allocations: 126 kB / 0.959 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.797e-05/0.9595, allocations: 11.64 kB / 0.959 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.859e-05/0.9595, allocations: 11.39 kB / 0.959 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.9595, allocations: 1.531 kB / 0.959 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.9595, allocations: 4 kB / 0.959 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.9595, allocations: 0 / 0.959 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004966/0.96, allocations: 439.5 kB / 0.9594 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.96, allocations: 0 / 0.9594 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.926e-05/0.9601, allocations: 19.81 kB / 0.9595 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.9601, allocations: 1.312 kB / 0.9595 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.9601, allocations: 5.031 kB / 0.9595 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.9601, allocations: 1.312 kB / 0.9595 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.9601, allocations: 0 / 0.9595 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.9605, allocations: 254.3 kB / 0.9597 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.1e-05/0.9605, allocations: 84.7 kB / 0.9598 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.9605, allocations: 11.94 kB / 0.9598 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.89e-05/0.9606, allocations: 7.938 kB / 0.9598 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.9607, allocations: 7.734 kB / 0.9598 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.9607, allocations: 1.953 kB / 0.9598 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.552e-05/0.9608, allocations: 107 kB / 0.9599 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9608, allocations: 0 / 0.9599 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003605/0.9611, allocations: 55.33 kB / 0.96 GB, free: 2.922 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (ac.sampleTrigger,$whenCondition1,occ.y,ac.on,ac.pOn,ac.pOff,ac.curSeed) * Number of discrete states: 1 (ac.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008279/0.962, allocations: 0.8528 MB / 0.9608 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002602/0.9622, allocations: 97.62 kB / 0.9609 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.9622, allocations: 4 kB / 0.9609 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.9624, allocations: 51.53 kB / 0.961 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.9627, allocations: 13.39 kB / 0.961 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.9638, allocations: 0.6645 MB / 0.9616 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001537/0.9639, allocations: 0.6981 MB / 0.9623 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.657e-05/0.964, allocations: 4.312 kB / 0.9623 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.357e-05/0.964, allocations: 22.33 kB / 0.9623 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.964, allocations: 1.031 kB / 0.9623 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0149/0.9789, allocations: 2.866 MB / 0.9651 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002268/0.9792, allocations: 256.7 kB / 0.9654 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/2.768, allocations: 0 / 0.9654 GB, free: 15.14 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.fmu > Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat does not exist to compare? outputFormat=mat