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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008444/0.008444, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001898/0.001898, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.623/2.623, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 59.91 kB / 1.054 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9222/0.9238, allocations: 157.4 MB / 1.207 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002787/0.9266, allocations: 1.51 MB / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001631/0.9283, allocations: 0.814 MB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.799e-05/0.9284, allocations: 0 / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.998e-05/0.9284, allocations: 11.88 kB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.462e-05/0.9285, allocations: 19.84 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008071/0.9293, allocations: 147.5 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.9295, allocations: 95.75 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.9297, allocations: 8 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.9298, allocations: 47.84 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.903e-05/0.9299, allocations: 47.81 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.9299, allocations: 8 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002862/0.9302, allocations: 123.8 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.759e-05/0.9303, allocations: 23.91 kB / 1.21 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.815e-05/0.9303, allocations: 35.8 kB / 1.21 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003586/0.9307, allocations: 181.9 kB / 1.21 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.9307, allocations: 0 / 1.21 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.416e-06/0.9307, allocations: 3.984 kB / 1.21 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.9307, allocations: 0 / 1.21 GB, free: 10.53 MB / 0.9356 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.0007992/0.9315, allocations: 482.5 kB / 1.211 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.9316, allocations: 8.031 kB / 1.211 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.708e-05/0.9316, allocations: 34.75 kB / 1.211 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.714e-05/0.9317, allocations: 12.78 kB / 1.211 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.9318, allocations: 188.1 kB / 1.211 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.124e-05/0.9319, allocations: 384 / 1.211 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.9319, allocations: 8.312 kB / 1.211 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.9322, allocations: 93.77 kB / 1.211 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.9322, allocations: 0 / 1.211 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.9322, allocations: 0 / 1.211 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.9322, allocations: 0 / 1.211 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.9324, allocations: 55.89 kB / 1.211 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005675/0.933, allocations: 316.7 kB / 1.211 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002343/0.9332, allocations: 90.53 kB / 1.211 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.9333, allocations: 44.88 kB / 1.212 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.9334, allocations: 3.984 kB / 1.212 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002764/0.9337, allocations: 95.34 kB / 1.212 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.9337, allocations: 4 kB / 1.212 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0005667/0.9342, allocations: 181.7 kB / 1.212 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.9343, allocations: 59.41 kB / 1.212 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.9344, allocations: 132.8 kB / 1.212 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.9345, allocations: 37.64 kB / 1.212 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.319e-05/0.9345, allocations: 96.14 kB / 1.212 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.9346, allocations: 19.7 kB / 1.212 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-05/0.9346, allocations: 33.7 kB / 1.212 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.9348, allocations: 318.8 kB / 1.212 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.007e-05/0.9349, allocations: 23.98 kB / 1.212 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.935, allocations: 73.98 kB / 1.213 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.9352, allocations: 101.9 kB / 1.213 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.9352, allocations: 0 / 1.213 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002638/0.9355, allocations: 125.4 kB / 1.213 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.9355, allocations: 4 kB / 1.213 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.9355, allocations: 4 kB / 1.213 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.9356, allocations: 0 / 1.213 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.78e-05/0.9357, allocations: 15.98 kB / 1.213 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/0.9357, allocations: 12.12 kB / 1.213 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.289e-05/0.9358, allocations: 11.94 kB / 1.213 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.9358, allocations: 8 kB / 1.213 GB, free: 7.598 MB / 0.9356 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 0.0001506/0.936, allocations: 121.8 kB / 1.213 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.936, allocations: 15.84 kB / 1.213 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.535e-05/0.9361, allocations: 8.719 kB / 1.213 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.9361, allocations: 0 / 1.213 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.9361, allocations: 3.938 kB / 1.213 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.9361, allocations: 4 kB / 1.213 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007311/0.9368, allocations: 438.2 kB / 1.213 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.9368, allocations: 0 / 1.213 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.178e-05/0.9369, allocations: 4 kB / 1.213 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.9369, allocations: 0 / 1.213 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.9369, allocations: 11.98 kB / 1.213 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.9369, allocations: 0 / 1.213 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.9369, allocations: 3.938 kB / 1.213 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004524/0.9374, allocations: 255.7 kB / 1.214 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.754e-05/0.9375, allocations: 81.02 kB / 1.214 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.9375, allocations: 8 kB / 1.214 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.9376, allocations: 7.984 kB / 1.214 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.9377, allocations: 7.938 kB / 1.214 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.9377, allocations: 7.984 kB / 1.214 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.874e-05/0.9378, allocations: 105.6 kB / 1.214 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9378, allocations: 0 / 1.214 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004171/0.9382, allocations: 48 kB / 1.214 GB, free: 6.383 MB / 0.9356 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.001357/0.9396, allocations: 0.8503 MB / 1.215 GB, free: 5.52 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003704/0.94, allocations: 91.88 kB / 1.215 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.94, allocations: 384 / 1.215 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.9402, allocations: 47.97 kB / 1.215 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.9405, allocations: 13.66 kB / 1.215 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/0.9429, allocations: 1.595 MB / 1.216 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.9432, allocations: 0.6924 MB / 1.217 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.274e-05/0.9432, allocations: 4 kB / 1.217 GB, free: 2.938 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.63e-05/0.9433, allocations: 23.42 kB / 1.217 GB, free: 2.914 MB / 0.9356 GB Notification: Performance of SimCode: time 6.31e-07/0.9433, allocations: 0 / 1.217 GB, free: 2.914 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02368/0.967, allocations: 3.268 MB / 1.22 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.778/8.745, allocations: 3.062 kB / 1.22 GB, free: 15.8 MB / 0.9512 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) "" Variables in the reference:time,ac.TIn,ac.occ,ac.on Variables in the result:Tin.amplitude,Tin.f,Tin.offset,Tin.phase,Tin.startTime,Tin.y,ac.L1,ac.L2,ac.TIn,ac.k1,ac.k2,ac.occ,ac.on,ac.pOff,ac.pOn,ac.samplePeriod,ac.seed,ac.u1,ac.u2,occ.startTime,occ.startValue,occ.y,time