Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_latest_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.001076/0.001076, allocations: 86.95 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.001583/0.001583, 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.503/1.503, allocations: 223.2 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.515/2.515, allocations: 409.4 MB / 0.684 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003728, allocations: 8 kB / 0.8378 GB, free: 6.453 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8443/0.8447, allocations: 146.8 MB / 0.9811 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.001785/0.8465, allocations: 1.206 MB / 0.9823 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001362/0.8479, allocations: 0.7524 MB / 0.983 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.859e-05/0.848, allocations: 7.938 kB / 0.983 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.278e-05/0.8481, allocations: 7.984 kB / 0.9831 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.729e-05/0.8481, allocations: 11.86 kB / 0.9831 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006654/0.8488, allocations: 111.8 kB / 0.9832 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000154/0.849, allocations: 87.64 kB / 0.9833 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.945e-05/0.8491, allocations: 15.97 kB / 0.9833 GB, free: 4 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.8492, allocations: 35.91 kB / 0.9833 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.818e-05/0.8493, allocations: 47.81 kB / 0.9834 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.8493, allocations: 4 kB / 0.9834 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.8496, allocations: 111.8 kB / 0.9835 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.075e-05/0.8497, allocations: 15.92 kB / 0.9835 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.324e-05/0.8497, allocations: 33.7 kB / 0.9835 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.8499, allocations: 122 kB / 0.9836 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.85, allocations: 0 / 0.9836 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.413e-06/0.85, allocations: 0 / 0.9836 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.85, allocations: 0 / 0.9836 GB, free: 3.633 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007046/0.8507, allocations: 478.4 kB / 0.9841 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.8508, allocations: 11.97 kB / 0.9841 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.707e-05/0.8508, allocations: 34.56 kB / 0.9841 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.8508, allocations: 7.906 kB / 0.9841 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.851, allocations: 184.3 kB / 0.9843 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.591e-05/0.851, allocations: 12 kB / 0.9843 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.8511, allocations: 7.938 kB / 0.9843 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/0.8513, allocations: 89.59 kB / 0.9844 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.8513, allocations: 0 / 0.9844 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.8514, allocations: 3.984 kB / 0.9844 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.8514, allocations: 0 / 0.9844 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.8515, allocations: 63.91 kB / 0.9845 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005606/0.8521, allocations: 320.7 kB / 0.9848 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.8523, allocations: 90.48 kB / 0.9849 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.8525, allocations: 56.86 kB / 0.9849 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.8525, allocations: 3.984 kB / 0.9849 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000234/0.8527, allocations: 99.52 kB / 0.985 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.8528, allocations: 0 / 0.985 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0005144/0.8533, allocations: 201.5 kB / 0.9852 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.8533, allocations: 55.41 kB / 0.9853 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.8535, allocations: 134.8 kB / 0.9854 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.8535, allocations: 29.64 kB / 0.9854 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/0.8536, allocations: 100 kB / 0.9855 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.8536, allocations: 15.81 kB / 0.9855 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.8536, allocations: 8 kB / 0.9855 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.8537, allocations: 318.8 kB / 0.9858 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.781e-05/0.8538, allocations: 27.98 kB / 0.9859 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.313e-05/0.8539, allocations: 66 kB / 0.9859 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.454e-05/0.854, allocations: 35.98 kB / 0.986 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.854, allocations: 3.953 kB / 0.986 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002682/0.8543, allocations: 137.4 kB / 0.9861 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.8543, allocations: 9.391 kB / 0.9861 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.8544, allocations: 4 kB / 0.9861 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.8544, allocations: 0 / 0.9861 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.225e-05/0.8545, allocations: 12 kB / 0.9861 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.8545, allocations: 4 kB / 0.9861 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.107e-05/0.8546, allocations: 20.11 kB / 0.9862 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.8546, allocations: 7.938 kB / 0.9862 GB, free: 0.7695 MB / 0.7325 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 0.0001196/0.8547, allocations: 123.6 kB / 0.9863 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.8547, allocations: 11.86 kB / 0.9863 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.058e-05/0.8548, allocations: 12.7 kB / 0.9863 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.8548, allocations: 4 kB / 0.9863 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.8548, allocations: 3.938 kB / 0.9863 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.8548, allocations: 4 kB / 0.9863 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005759/0.8554, allocations: 446.6 kB / 0.9867 GB, free: 112 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.8554, allocations: 0 / 0.9867 GB, free: 112 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.213e-05/0.8554, allocations: 7.984 kB / 0.9867 GB, free: 104 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.8554, allocations: 4 kB / 0.9868 GB, free: 100 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.8555, allocations: 4 kB / 0.9868 GB, free: 96 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.8555, allocations: 0 / 0.9868 GB, free: 96 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8555, allocations: 0 / 0.9868 GB, free: 96 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003931/0.8559, allocations: 263.3 kB / 0.987 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/0.8559, allocations: 84.95 kB / 0.9871 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.856, allocations: 4 kB / 0.9871 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.8561, allocations: 15.98 kB / 0.9871 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.8561, allocations: 3.984 kB / 0.9871 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.8561, allocations: 8 kB / 0.9871 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.188e-05/0.8562, allocations: 99.2 kB / 0.9872 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8562, allocations: 0 / 0.9872 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003491/0.8566, allocations: 55.98 kB / 0.9873 GB, free: 15.54 MB / 0.7481 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.001043/0.8576, allocations: 0.8657 MB / 0.9881 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003064/0.8579, allocations: 99.94 kB / 0.9882 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.8579, allocations: 0 / 0.9882 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.8581, allocations: 47.98 kB / 0.9883 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.8584, allocations: 11.98 kB / 0.9883 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.8597, allocations: 0.6755 MB / 0.9889 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.8601, allocations: 0.6926 MB / 0.9896 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.674e-05/0.8601, allocations: 7.859 kB / 0.9896 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.176e-05/0.8602, allocations: 23.42 kB / 0.9896 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of SimCode: time 2.31e-07/0.8602, allocations: 0 / 0.9896 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01509/0.8753, allocations: 2.865 MB / 0.9924 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002346/0.8756, allocations: 258.6 kB / 0.9927 GB, free: 9.992 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.903/2.778, allocations: 0 / 0.9927 GB, free: 9.992 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.fmu > Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat does not exist to compare? outputFormat=mat