Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Ren2014ACLivingroom,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_9_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.006948/0.006948, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001463/0.001463, allocations: 196.1 kB / 16.67 MB, free: 5.977 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.431/2.431, allocations: 390.3 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 62.11 kB / 0.9504 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3383, allocations: 140.4 MB / 1.087 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.00354/0.3419, allocations: 1.501 MB / 1.089 GB, free: 0.5234 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001851/0.3438, allocations: 0.8309 MB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.833e-05/0.3439, allocations: 0 / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.603e-05/0.3439, allocations: 7.875 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.3441, allocations: 15.86 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009094/0.345, allocations: 155.5 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.3452, allocations: 91.7 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.3453, allocations: 19.97 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.3455, allocations: 31.92 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.3456, allocations: 51.81 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.3456, allocations: 11.94 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003147/0.346, allocations: 127.8 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.861e-05/0.346, allocations: 23.92 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.512e-05/0.3461, allocations: 39.78 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003853/0.3465, allocations: 178.4 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3465, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3465, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.18e-05/0.3465, allocations: 4 kB / 1.09 GB, free: 14.95 MB / 0.8575 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.0009582/0.3475, allocations: 487.3 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.3475, allocations: 12.03 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.567e-05/0.3476, allocations: 34.73 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.3476, allocations: 8.844 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.3478, allocations: 176.2 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.354e-05/0.3478, allocations: 8.375 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.3478, allocations: 4.375 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.3481, allocations: 89.75 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3481, allocations: 4 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.3481, allocations: 0 / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3482, allocations: 0 / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.3483, allocations: 51.91 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000607/0.349, allocations: 324.7 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.3492, allocations: 78.55 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.3493, allocations: 48.83 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.3494, allocations: 160 / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000278/0.3497, allocations: 95.38 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.683e-06/0.3497, allocations: 4 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0005743/0.3503, allocations: 185.5 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.3503, allocations: 51.41 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.3504, allocations: 130.1 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.3505, allocations: 29.7 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.3505, allocations: 92.12 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.3506, allocations: 23.73 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.895e-05/0.3507, allocations: 33.7 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.3508, allocations: 326.8 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.854e-05/0.3509, allocations: 31.92 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.351, allocations: 67.44 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.3512, allocations: 105.9 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3512, allocations: 4 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002772/0.3515, allocations: 133.4 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.3515, allocations: 4 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.3516, allocations: 7.984 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.3516, allocations: 0 / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.673e-05/0.3517, allocations: 12 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.3517, allocations: 0 / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.811e-05/0.3518, allocations: 16.08 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.3518, allocations: 15.94 kB / 1.093 GB, free: 12.02 MB / 0.8575 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.000119/0.3519, allocations: 128.4 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.352, allocations: 11.91 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.733e-05/0.352, allocations: 16.7 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.352, allocations: 0 / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.352, allocations: 0 / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.352, allocations: 0 / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006092/0.3527, allocations: 430.4 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3527, allocations: 0 / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.285e-05/0.3527, allocations: 7.984 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.3527, allocations: 0 / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.3528, allocations: 4 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3528, allocations: 0 / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.3528, allocations: 3.938 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003948/0.3532, allocations: 251.3 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.197e-05/0.3532, allocations: 85.02 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.3533, allocations: 0 / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.3534, allocations: 11.98 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.3534, allocations: 11.92 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.3534, allocations: 4 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.55e-05/0.3535, allocations: 99.27 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3535, allocations: 0 / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003432/0.3539, allocations: 51.98 kB / 1.094 GB, free: 10.82 MB / 0.8575 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.001032/0.3549, allocations: 0.8572 MB / 1.095 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003011/0.3552, allocations: 91.84 kB / 1.095 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3552, allocations: 4 kB / 1.095 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.3554, allocations: 40.36 kB / 1.095 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.3557, allocations: 23.92 kB / 1.095 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.3576, allocations: 1.577 MB / 1.097 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.3579, allocations: 0.6962 MB / 1.097 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.449e-05/0.358, allocations: 7.984 kB / 1.097 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.703e-05/0.3581, allocations: 26.56 kB / 1.097 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of SimCode: time 8.41e-07/0.3581, allocations: 0 / 1.097 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08489/0.443, allocations: 3.247 MB / 1.101 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.998/8.441, allocations: 13.3 kB / 1.101 GB, free: 4.25 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.fmu > Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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