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.004748/0.004748, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001058/0.001058, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.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.164/2.164, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 59.91 kB / 0.9504 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8959/0.8971, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002897/0.9, allocations: 1.511 MB / 1.089 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.9017, allocations: 0.8118 MB / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.012e-05/0.9018, allocations: 0.9688 kB / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.041e-05/0.9018, allocations: 5.156 kB / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.08e-05/0.9019, allocations: 19.38 kB / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007291/0.9026, allocations: 153.8 kB / 1.09 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.9028, allocations: 90.56 kB / 1.09 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.9029, allocations: 12.61 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.903, allocations: 45.88 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.345e-05/0.9031, allocations: 52.78 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.9032, allocations: 15.59 kB / 1.09 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002762/0.9034, allocations: 120.5 kB / 1.09 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.082e-05/0.9035, allocations: 16.69 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.603e-05/0.9035, allocations: 42.03 kB / 1.09 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003237/0.9039, allocations: 180.5 kB / 1.09 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.9039, allocations: 1 kB / 1.09 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9039, allocations: 0 / 1.09 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.858e-06/0.9039, allocations: 0 / 1.09 GB, free: 3.355 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.0006842/0.9046, allocations: 486.8 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.9046, allocations: 9.469 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.322e-05/0.9047, allocations: 37.41 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/0.9047, allocations: 10.27 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.851e-05/0.9048, allocations: 176.8 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.9048, allocations: 2.438 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.9049, allocations: 10.2 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002712/0.9051, allocations: 89.84 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.9052, allocations: 0 / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.9052, allocations: 4 kB / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.9052, allocations: 1.188 kB / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.9054, allocations: 49.08 kB / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006527/0.9061, allocations: 326.7 kB / 1.092 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.9063, allocations: 81.58 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.9065, allocations: 44.66 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.9065, allocations: 1.875 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003333/0.9069, allocations: 96.61 kB / 1.092 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.703e-06/0.9069, allocations: 3.938 kB / 1.092 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0006322/0.9075, allocations: 190.9 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.9076, allocations: 55.44 kB / 1.092 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.9077, allocations: 136.1 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.9077, allocations: 27.2 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.9078, allocations: 93.92 kB / 1.092 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.9078, allocations: 19.55 kB / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-05/0.9078, allocations: 34.62 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.938e-05/0.9079, allocations: 324.6 kB / 1.093 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.259e-05/0.908, allocations: 22.31 kB / 1.093 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.9081, allocations: 70.72 kB / 1.093 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.9083, allocations: 107.7 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.9083, allocations: 0.9062 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002444/0.9086, allocations: 124.7 kB / 1.093 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.9086, allocations: 5.031 kB / 1.093 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.9086, allocations: 2.641 kB / 1.093 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.9086, allocations: 2.969 kB / 1.093 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.962e-05/0.9087, allocations: 21.14 kB / 1.093 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.9087, allocations: 6 kB / 1.093 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.849e-05/0.9088, allocations: 14.64 kB / 1.093 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.9088, allocations: 12.48 kB / 1.093 GB, free: 1.141 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 9.322e-05/0.9089, allocations: 130.2 kB / 1.093 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.909, allocations: 8.578 kB / 1.093 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.764e-05/0.909, allocations: 11.61 kB / 1.093 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.909, allocations: 0.75 kB / 1.093 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.909, allocations: 1.453 kB / 1.093 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.909, allocations: 0.8438 kB / 1.093 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006149/0.9097, allocations: 426.5 kB / 1.094 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.9097, allocations: 1.547 kB / 1.094 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.238e-05/0.9097, allocations: 8.625 kB / 1.094 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.9097, allocations: 0.7969 kB / 1.094 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.9098, allocations: 3.609 kB / 1.094 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.9098, allocations: 0 / 1.094 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.9098, allocations: 5.281 kB / 1.094 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003924/0.9102, allocations: 249.2 kB / 1.094 GB, free: 480 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.543e-05/0.9102, allocations: 83.56 kB / 1.094 GB, free: 380 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.9102, allocations: 6.422 kB / 1.094 GB, free: 376 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.9103, allocations: 7.641 kB / 1.094 GB, free: 376 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.9104, allocations: 9.453 kB / 1.094 GB, free: 372 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.9104, allocations: 3.844 kB / 1.094 GB, free: 372 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.979e-05/0.9105, allocations: 108.4 kB / 1.094 GB, free: 280 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9105, allocations: 0 / 1.094 GB, free: 280 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004002/0.9109, allocations: 49.84 kB / 1.094 GB, free: 268 kB / 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.0009676/0.9119, allocations: 0.8563 MB / 1.095 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003095/0.9122, allocations: 86.8 kB / 1.095 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.9122, allocations: 0 / 1.095 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.9124, allocations: 50.92 kB / 1.095 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.9127, allocations: 15.39 kB / 1.095 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002096/0.9148, allocations: 1.595 MB / 1.097 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.9151, allocations: 0.6951 MB / 1.097 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.825e-05/0.9151, allocations: 12.98 kB / 1.097 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.855e-05/0.9152, allocations: 25.25 kB / 1.097 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.9152, allocations: 0 / 1.097 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.9384, allocations: 3.211 MB / 1.1 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.033/7.971, allocations: 7.375 kB / 1.1 GB, free: 12.85 MB / 0.8731 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) Reference file matches