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.001102/0.001102, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.45/1.45, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.47/2.47, allocations: 461.9 MB / 0.7346 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 64.22 kB / 0.8992 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2355, allocations: 157.4 MB / 1.053 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002629/0.2382, allocations: 1.501 MB / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001602/0.2398, allocations: 0.8493 MB / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.66e-05/0.2399, allocations: 0 / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.885e-05/0.24, allocations: 3.938 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.63e-05/0.2401, allocations: 11.81 kB / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007529/0.2408, allocations: 151.5 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.241, allocations: 95.7 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.2411, allocations: 11.98 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.2413, allocations: 39.91 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.512e-05/0.2414, allocations: 47.77 kB / 1.056 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/0.2414, allocations: 11.94 kB / 1.056 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002922/0.2417, allocations: 127.9 kB / 1.056 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.707e-05/0.2417, allocations: 19.92 kB / 1.056 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.417e-05/0.2418, allocations: 39.8 kB / 1.056 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000348/0.2422, allocations: 183.8 kB / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2422, allocations: 0 / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2422, allocations: 3.938 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.802e-06/0.2422, allocations: 4 kB / 1.056 GB, free: 5.172 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.000779/0.243, allocations: 474.5 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.243, allocations: 16.56 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.298e-05/0.2431, allocations: 34.75 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.2431, allocations: 16.83 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.2432, allocations: 172.2 kB / 1.057 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.2432, allocations: 4.375 kB / 1.057 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.2433, allocations: 8.375 kB / 1.057 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.2435, allocations: 93.69 kB / 1.057 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.453e-06/0.2435, allocations: 0 / 1.057 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.2435, allocations: 0 / 1.057 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.2435, allocations: 0 / 1.057 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.2437, allocations: 51.97 kB / 1.057 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004716/0.2442, allocations: 324.7 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.2444, allocations: 82.58 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.2445, allocations: 52.83 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.2445, allocations: 0 / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000208/0.2447, allocations: 91.27 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 2.635e-06/0.2447, allocations: 3.984 kB / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004706/0.2452, allocations: 197.6 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.2452, allocations: 51.41 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.504e-05/0.2453, allocations: 132.2 kB / 1.058 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.2454, allocations: 29.7 kB / 1.058 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.249e-05/0.2454, allocations: 92.12 kB / 1.058 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.2454, allocations: 19.75 kB / 1.058 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.307e-05/0.2455, allocations: 29.7 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.496e-05/0.2456, allocations: 326.8 kB / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.844e-05/0.2456, allocations: 27.98 kB / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.248e-05/0.2457, allocations: 65.94 kB / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.2459, allocations: 109.9 kB / 1.058 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2459, allocations: 0 / 1.058 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002207/0.2461, allocations: 129.5 kB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.2462, allocations: 4 kB / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.2462, allocations: 4 kB / 1.058 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.2462, allocations: 0 / 1.058 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.867e-05/0.2463, allocations: 19.92 kB / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.2463, allocations: 0 / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.397e-05/0.2463, allocations: 11.89 kB / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.2464, allocations: 11.94 kB / 1.058 GB, free: 2.25 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 7.996e-05/0.2465, allocations: 125.9 kB / 1.059 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.849e-05/0.2465, allocations: 7.906 kB / 1.059 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.551e-05/0.2465, allocations: 12.72 kB / 1.059 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2465, allocations: 3.938 kB / 1.059 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.2465, allocations: 4 kB / 1.059 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.2465, allocations: 3.984 kB / 1.059 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004796/0.247, allocations: 434.4 kB / 1.059 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.247, allocations: 0 / 1.059 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.692e-05/0.2471, allocations: 4 kB / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2471, allocations: 0 / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.2471, allocations: 7.984 kB / 1.059 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.2471, allocations: 0 / 1.059 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.2471, allocations: 7.875 kB / 1.059 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003211/0.2474, allocations: 243.4 kB / 1.059 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.507e-05/0.2475, allocations: 85.02 kB / 1.059 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.2475, allocations: 0 / 1.059 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.2476, allocations: 11.98 kB / 1.059 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/0.2476, allocations: 3.938 kB / 1.059 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.2477, allocations: 7.984 kB / 1.059 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.813e-05/0.2477, allocations: 101.1 kB / 1.059 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2477, allocations: 0 / 1.059 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003/0.248, allocations: 51.98 kB / 1.06 GB, free: 1.059 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.0007516/0.2488, allocations: 0.8599 MB / 1.06 GB, free: 192 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002282/0.249, allocations: 83.89 kB / 1.06 GB, free: 108 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.249, allocations: 4 kB / 1.06 GB, free: 104 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.2492, allocations: 55.83 kB / 1.061 GB, free: 48 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.2494, allocations: 19.92 kB / 1.061 GB, free: 28 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.2509, allocations: 1.571 MB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.2511, allocations: 0.6961 MB / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.308e-05/0.2511, allocations: 7.984 kB / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.923e-05/0.2512, allocations: 19.44 kB / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.2512, allocations: 0 / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.622/2.873, allocations: 3.179 MB / 1.066 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.412/11.28, allocations: 14.81 kB / 1.066 GB, free: 10.54 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