Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_10_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.001419/0.001419, 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.001667/0.001667, allocations: 197.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.243/1.243, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.354/2.354, allocations: 437 MB / 0.7099 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 59.91 kB / 0.8686 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5431/0.5444, allocations: 151.6 MB / 1.017 GB, free: 2.832 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.00247/0.5469, allocations: 1.573 MB / 1.018 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.5482, allocations: 0.8297 MB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.68e-05/0.5483, allocations: 7.938 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.278e-05/0.5483, allocations: 4 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.818e-05/0.5484, allocations: 11.86 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005137/0.5489, allocations: 123.7 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.549, allocations: 91.69 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.319e-05/0.5491, allocations: 16 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.526e-05/0.5492, allocations: 35.91 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.108e-05/0.5493, allocations: 47.81 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.5493, allocations: 4 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000226/0.5496, allocations: 115.9 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.739e-05/0.5496, allocations: 19.84 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.228e-05/0.5497, allocations: 43.72 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.5499, allocations: 173.9 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.5499, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.52e-07/0.5499, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.55, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.7794 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.0006638/0.5506, allocations: 486.5 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.5507, allocations: 8.031 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.198e-05/0.5507, allocations: 30.75 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/0.5507, allocations: 12.84 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.5509, allocations: 182.9 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.5509, allocations: 8.375 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.5509, allocations: 4.375 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.5511, allocations: 89.7 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.5511, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.5512, allocations: 4 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.5512, allocations: 4 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.5513, allocations: 43.95 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004786/0.5518, allocations: 328.7 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.552, allocations: 78.53 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.5522, allocations: 40.84 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.5522, allocations: 3.984 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002076/0.5524, allocations: 103.5 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 2.885e-06/0.5524, allocations: 96 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004885/0.5529, allocations: 185.5 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.553, allocations: 55.41 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.847e-05/0.5531, allocations: 138 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.5531, allocations: 29.7 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.766e-05/0.5531, allocations: 92.14 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.5532, allocations: 19.8 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.5532, allocations: 29.7 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.864e-05/0.5533, allocations: 322.8 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.412e-05/0.5534, allocations: 23.98 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.781e-05/0.5535, allocations: 81.8 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.5537, allocations: 101.9 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5537, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002301/0.5539, allocations: 121.4 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.5539, allocations: 15.88 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.5539, allocations: 0 / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.554, allocations: 12.12 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.106e-05/0.554, allocations: 11.98 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.5541, allocations: 4 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.542e-05/0.5541, allocations: 11.84 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.5541, allocations: 8 kB / 1.022 GB, free: 12.81 MB / 0.7794 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.661e-05/0.5542, allocations: 129.7 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.5543, allocations: 7.953 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/0.5543, allocations: 12.7 kB / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.5543, allocations: 4 kB / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.5543, allocations: 4 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.5543, allocations: 0 / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00052/0.5548, allocations: 434.3 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5548, allocations: 0 / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.055e-05/0.5549, allocations: 4 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.5549, allocations: 0 / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.5549, allocations: 7.984 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.5549, allocations: 0 / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5549, allocations: 3.938 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.5553, allocations: 247.4 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.614e-05/0.5553, allocations: 85.02 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.5554, allocations: 0 / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.5555, allocations: 11.98 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.5555, allocations: 11.94 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.5556, allocations: 7.984 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.402e-05/0.5556, allocations: 100.8 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.433e-06/0.5556, allocations: 0 / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003111/0.5559, allocations: 55.92 kB / 1.023 GB, free: 11.61 MB / 0.7794 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.0008446/0.5568, allocations: 0.8568 MB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002522/0.5571, allocations: 88.14 kB / 1.024 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.5571, allocations: 0 / 1.024 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.5572, allocations: 51.91 kB / 1.024 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.5575, allocations: 20.81 kB / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.559, allocations: 1.592 MB / 1.026 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.5593, allocations: 0.6887 MB / 1.027 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.41e-05/0.5593, allocations: 8.094 kB / 1.027 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.117e-05/0.5593, allocations: 23.42 kB / 1.027 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5593, allocations: 0 / 1.027 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01214/0.5715, allocations: 2.977 MB / 1.03 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/0.5717, allocations: 272 kB / 1.03 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.522/2.094, allocations: 0.9844 kB / 1.03 GB, free: 4.957 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.fmu > Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches