Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_11_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.003786/0.003786, allocations: 103 kB / 15.74 MB, free: 6.059 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.001084/0.001084, allocations: 190.9 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.256/1.256, 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.1.0-maint.11.x/package.mo): time 2.532/2.532, allocations: 469.8 MB / 0.7425 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 67.91 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6889/0.6908, allocations: 159.1 MB / 1.22 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002416/0.6932, allocations: 1.507 MB / 1.222 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.6946, allocations: 0.8226 MB / 1.222 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.912e-05/0.6946, allocations: 0 / 1.222 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.715e-05/0.6946, allocations: 7.938 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.518e-05/0.6947, allocations: 15.8 kB / 1.222 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005329/0.6952, allocations: 155.5 kB / 1.223 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.6954, allocations: 87.7 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.442e-05/0.6955, allocations: 16 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.422e-05/0.6956, allocations: 43.89 kB / 1.223 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.308e-05/0.6956, allocations: 43.77 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.6957, allocations: 8 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002434/0.6959, allocations: 127.9 kB / 1.223 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.224e-05/0.696, allocations: 23.91 kB / 1.223 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.222e-05/0.696, allocations: 35.8 kB / 1.223 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.6963, allocations: 187.1 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.6963, allocations: 4 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6963, allocations: 0 / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.6963, allocations: 0 / 1.223 GB, free: 14.95 MB / 0.9512 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.00071/0.697, allocations: 490.1 kB / 1.224 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.6971, allocations: 8.031 kB / 1.224 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.872e-05/0.6971, allocations: 38.75 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.6972, allocations: 12.83 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.6973, allocations: 182.5 kB / 1.224 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.6973, allocations: 4.375 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.6973, allocations: 8.375 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.6976, allocations: 85.7 kB / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.6976, allocations: 0 / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.6976, allocations: 4 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.6976, allocations: 3.984 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.6978, allocations: 47.97 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005606/0.6984, allocations: 332.6 kB / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.6986, allocations: 78.53 kB / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.6988, allocations: 44.83 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.6988, allocations: 8 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002443/0.699, allocations: 87.36 kB / 1.224 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.699, allocations: 0 / 1.224 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0005527/0.6996, allocations: 185.7 kB / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.6997, allocations: 59.41 kB / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.6998, allocations: 130.1 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.6998, allocations: 29.7 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.185e-05/0.6999, allocations: 96.09 kB / 1.225 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.082e-05/0.6999, allocations: 23.83 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.082e-05/0.7, allocations: 29.7 kB / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.7002, allocations: 322.8 kB / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.642e-05/0.7003, allocations: 23.97 kB / 1.225 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.7004, allocations: 70 kB / 1.225 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/0.7006, allocations: 109.9 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.7006, allocations: 3.938 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002406/0.7008, allocations: 117.5 kB / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.7009, allocations: 12.19 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.7009, allocations: 0 / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.7009, allocations: 4 kB / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.284e-05/0.701, allocations: 19.92 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.701, allocations: 4 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.503e-05/0.7011, allocations: 7.953 kB / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.7011, allocations: 7.984 kB / 1.226 GB, free: 12.02 MB / 0.9512 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.0001265/0.7012, allocations: 134.5 kB / 1.226 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.7013, allocations: 15.89 kB / 1.226 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.435e-05/0.7013, allocations: 4.719 kB / 1.226 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.7013, allocations: 4 kB / 1.226 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.7013, allocations: 48 / 1.226 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.7013, allocations: 3.984 kB / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005898/0.7019, allocations: 434.4 kB / 1.226 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.7019, allocations: 0 / 1.226 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.066e-05/0.702, allocations: 7.938 kB / 1.226 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.702, allocations: 4 kB / 1.226 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.702, allocations: 7.984 kB / 1.226 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.702, allocations: 0 / 1.226 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.702, allocations: 7.938 kB / 1.226 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003809/0.7024, allocations: 235.8 kB / 1.227 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.703e-05/0.7025, allocations: 85.06 kB / 1.227 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.7025, allocations: 8 kB / 1.227 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.7026, allocations: 7.984 kB / 1.227 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.7027, allocations: 7.938 kB / 1.227 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.7027, allocations: 7.984 kB / 1.227 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.764e-05/0.7028, allocations: 102.1 kB / 1.227 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7028, allocations: 0 / 1.227 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003124/0.7031, allocations: 47.88 kB / 1.227 GB, free: 10.81 MB / 0.9512 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.0009269/0.704, allocations: 0.8632 MB / 1.228 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002619/0.7043, allocations: 87.89 kB / 1.228 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.7043, allocations: 0 / 1.228 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.7045, allocations: 51.91 kB / 1.228 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.7047, allocations: 14.11 kB / 1.228 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.7064, allocations: 1.604 MB / 1.229 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.7067, allocations: 0.6924 MB / 1.23 GB, free: 7.352 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.48e-05/0.7068, allocations: 4 kB / 1.23 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/0.7068, allocations: 24.17 kB / 1.23 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of SimCode: time 2.61e-07/0.7068, allocations: 4 kB / 1.23 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.87/2.577, allocations: 3.219 MB / 1.233 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.26/23.84, allocations: 9.828 kB / 1.233 GB, free: 4.25 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.fmu > Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches