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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.004574/0.004574, allocations: 100.6 kB / 15.73 MB, free: 6.066 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.001368/0.001368, allocations: 195.8 kB / 16.67 MB, free: 5.969 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.275/1.275, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.611/2.611, allocations: 482.6 MB / 0.7551 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 59.44 kB / 1.083 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2757, allocations: 162.3 MB / 1.242 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002369/0.2781, allocations: 1.514 MB / 1.243 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.2793, allocations: 0.8193 MB / 1.244 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.563e-05/0.2794, allocations: 0 / 1.244 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.968e-05/0.2794, allocations: 3.938 kB / 1.244 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.102e-05/0.2795, allocations: 15.8 kB / 1.244 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005231/0.28, allocations: 155.5 kB / 1.244 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.2802, allocations: 95.7 kB / 1.244 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.629e-05/0.2802, allocations: 11.97 kB / 1.244 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.081e-05/0.2803, allocations: 51.77 kB / 1.244 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.503e-05/0.2804, allocations: 43.83 kB / 1.244 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.2805, allocations: 12 kB / 1.244 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002295/0.2807, allocations: 119.9 kB / 1.245 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.143e-05/0.2807, allocations: 23.95 kB / 1.245 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.852e-05/0.2808, allocations: 35.8 kB / 1.245 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002708/0.2811, allocations: 187.6 kB / 1.245 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2811, allocations: 8 kB / 1.245 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2811, allocations: 0 / 1.245 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2811, allocations: 0 / 1.245 GB, free: 5.891 MB / 0.9669 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.0006751/0.2818, allocations: 482.2 kB / 1.245 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.2818, allocations: 12.03 kB / 1.245 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.127e-05/0.2819, allocations: 34.75 kB / 1.245 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.2819, allocations: 12.84 kB / 1.245 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.282, allocations: 176.3 kB / 1.246 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.282, allocations: 4.375 kB / 1.246 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.2821, allocations: 8.375 kB / 1.246 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.2823, allocations: 93.64 kB / 1.246 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.2823, allocations: 0 / 1.246 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.2823, allocations: 4 kB / 1.246 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.2823, allocations: 0 / 1.246 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.2825, allocations: 51.95 kB / 1.246 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005102/0.283, allocations: 324.7 kB / 1.246 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.2832, allocations: 82.53 kB / 1.246 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.2834, allocations: 48.78 kB / 1.246 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.2834, allocations: 0 / 1.246 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002039/0.2836, allocations: 91.31 kB / 1.246 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.2836, allocations: 0 / 1.246 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0004967/0.2841, allocations: 197.6 kB / 1.246 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.2842, allocations: 55.55 kB / 1.246 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.2843, allocations: 136.2 kB / 1.247 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.2843, allocations: 29.7 kB / 1.247 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.839e-05/0.2844, allocations: 92.14 kB / 1.247 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.2844, allocations: 19.84 kB / 1.247 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.026e-05/0.2845, allocations: 33.72 kB / 1.247 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.2846, allocations: 322.8 kB / 1.247 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-05/0.2847, allocations: 23.98 kB / 1.247 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.2848, allocations: 68.98 kB / 1.247 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.285, allocations: 109.9 kB / 1.247 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.285, allocations: 0 / 1.247 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002395/0.2852, allocations: 129.5 kB / 1.247 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.2852, allocations: 4 kB / 1.247 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2852, allocations: 4 kB / 1.247 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.2853, allocations: 0 / 1.247 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.902e-05/0.2853, allocations: 19.92 kB / 1.247 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.2854, allocations: 0 / 1.247 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.2854, allocations: 11.94 kB / 1.247 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.2854, allocations: 8.188 kB / 1.247 GB, free: 2.969 MB / 0.9669 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.000103/0.2855, allocations: 134.2 kB / 1.248 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/0.2856, allocations: 7.953 kB / 1.248 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.312e-05/0.2856, allocations: 12.72 kB / 1.248 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.2856, allocations: 0 / 1.248 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2856, allocations: 0 / 1.248 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2856, allocations: 3.938 kB / 1.248 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005625/0.2862, allocations: 438.4 kB / 1.248 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2862, allocations: 4 kB / 1.248 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.002e-05/0.2862, allocations: 7.938 kB / 1.248 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.2863, allocations: 4.031 kB / 1.248 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.2863, allocations: 4 kB / 1.248 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.2863, allocations: 3.984 kB / 1.248 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.2863, allocations: 7.875 kB / 1.248 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003712/0.2867, allocations: 239.5 kB / 1.248 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.898e-05/0.2867, allocations: 89.05 kB / 1.248 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.2867, allocations: 0 / 1.248 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.2869, allocations: 11.98 kB / 1.248 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.2869, allocations: 7.938 kB / 1.248 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.2869, allocations: 4 kB / 1.248 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.189e-05/0.287, allocations: 104.5 kB / 1.248 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.287, allocations: 4 kB / 1.248 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002881/0.2873, allocations: 47.88 kB / 1.248 GB, free: 1.758 MB / 0.9669 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.0008942/0.2882, allocations: 0.8579 MB / 1.249 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002541/0.2884, allocations: 83.89 kB / 1.249 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2885, allocations: 0 / 1.249 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.2886, allocations: 47.91 kB / 1.249 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.2889, allocations: 20.31 kB / 1.249 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.2905, allocations: 1.582 MB / 1.251 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.2909, allocations: 0.6963 MB / 1.252 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.175e-05/0.2909, allocations: 4 kB / 1.252 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.234e-05/0.2909, allocations: 23.42 kB / 1.252 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.2909, allocations: 0 / 1.252 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.081/1.372, allocations: 3.221 MB / 1.255 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.18/15.55, allocations: 10.91 kB / 1.255 GB, free: 11.23 MB / 0.9825 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=400 --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