Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Ren2014ACLivingroom,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",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.001428/0.001428, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001367/0.001367, allocations: 194.9 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.505/2.505, allocations: 461.8 MB / 0.7342 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 67.16 kB / 0.8985 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2228, allocations: 157.4 MB / 1.052 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002435/0.2253, allocations: 1.56 MB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.2266, allocations: 0.8296 MB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.765e-05/0.2266, allocations: 0 / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.813e-05/0.2267, allocations: 11.94 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.105e-05/0.2268, allocations: 15.84 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004716/0.2272, allocations: 119.8 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.582e-05/0.2273, allocations: 87.7 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.388e-05/0.2274, allocations: 11.98 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.345e-05/0.2275, allocations: 39.91 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.645e-05/0.2276, allocations: 39.83 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.2276, allocations: 7.938 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002077/0.2278, allocations: 123.8 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.304e-05/0.2278, allocations: 11.98 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.623e-05/0.2279, allocations: 35.8 kB / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.2281, allocations: 175.8 kB / 1.055 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2282, allocations: 0 / 1.055 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.895e-06/0.2282, allocations: 0 / 1.055 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2282, allocations: 3.938 kB / 1.055 GB, free: 5.121 MB / 0.8106 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.0006565/0.2288, allocations: 490.5 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.2289, allocations: 8.031 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.677e-05/0.2289, allocations: 38.73 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.229, allocations: 12.84 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.2291, allocations: 181.8 kB / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.2291, allocations: 4.375 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.2291, allocations: 8.375 kB / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.2293, allocations: 93.69 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.2294, allocations: 0 / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.2294, allocations: 0 / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.2294, allocations: 8 kB / 1.056 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.2295, allocations: 43.97 kB / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004851/0.23, allocations: 328.8 kB / 1.056 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.2303, allocations: 78.58 kB / 1.056 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.2304, allocations: 48.81 kB / 1.056 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.2304, allocations: 0 / 1.056 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/0.2306, allocations: 103.2 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.2306, allocations: 0 / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004935/0.2311, allocations: 189.6 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.2312, allocations: 55.41 kB / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.41e-05/0.2313, allocations: 130.1 kB / 1.057 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.2313, allocations: 25.7 kB / 1.057 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.2313, allocations: 100.1 kB / 1.057 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.2314, allocations: 19.75 kB / 1.057 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.076e-05/0.2314, allocations: 29.7 kB / 1.057 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.955e-05/0.2315, allocations: 326.8 kB / 1.057 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.359e-05/0.2316, allocations: 23.92 kB / 1.057 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.537e-05/0.2317, allocations: 73.98 kB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.2319, allocations: 105.9 kB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2319, allocations: 0 / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002326/0.2321, allocations: 121.4 kB / 1.058 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.2322, allocations: 8 kB / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2322, allocations: 0 / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.2322, allocations: 4 kB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.289e-05/0.2323, allocations: 20.12 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.2323, allocations: 7.984 kB / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.5e-05/0.2324, allocations: 7.906 kB / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.2324, allocations: 4 kB / 1.058 GB, free: 2.188 MB / 0.8106 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 (ac.curSeed,$PRE.ac.curSeed,ac.pOff,$PRE.ac.pOff,ac.pOn,$PRE.ac.pOn,ac.on,$PRE.ac.on,occ.y,ac.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.134e-05/0.2325, allocations: 128.6 kB / 1.058 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.2325, allocations: 7.906 kB / 1.058 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.434e-05/0.2325, allocations: 16.64 kB / 1.058 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2325, allocations: 4 kB / 1.058 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.2325, allocations: 4 kB / 1.058 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.2325, allocations: 3.938 kB / 1.058 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005219/0.2331, allocations: 430.4 kB / 1.058 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2331, allocations: 0 / 1.058 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.759e-05/0.2331, allocations: 7.984 kB / 1.058 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2331, allocations: 0 / 1.058 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.2332, allocations: 0 / 1.058 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2332, allocations: 4 kB / 1.058 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2332, allocations: 3.938 kB / 1.058 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003513/0.2335, allocations: 255.3 kB / 1.059 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.458e-05/0.2336, allocations: 85.02 kB / 1.059 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.2336, allocations: 0 / 1.059 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.2337, allocations: 7.984 kB / 1.059 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.2338, allocations: 19.92 kB / 1.059 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.2338, allocations: 4 kB / 1.059 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.767e-05/0.2338, allocations: 99.27 kB / 1.059 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2338, allocations: 0 / 1.059 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000301/0.2341, allocations: 47.98 kB / 1.059 GB, free: 0.9844 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007958/0.2349, allocations: 0.8496 MB / 1.06 GB, free: 128 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002485/0.2352, allocations: 96.11 kB / 1.06 GB, free: 32 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2352, allocations: 4.125 kB / 1.06 GB, free: 28 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.2354, allocations: 51.95 kB / 1.06 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.2356, allocations: 11.88 kB / 1.06 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.2371, allocations: 1.591 MB / 1.061 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.2374, allocations: 0.6895 MB / 1.062 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.649e-05/0.2374, allocations: 11.98 kB / 1.062 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.176e-05/0.2375, allocations: 24.81 kB / 1.062 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.2375, allocations: 0 / 1.062 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01203/0.2495, allocations: 2.989 MB / 1.065 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/0.2497, allocations: 283.4 kB / 1.065 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/1.874, allocations: 0 / 1.065 GB, free: 10.3 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.fmu > Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches