Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.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.Ren2014ACBedroom,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",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.001225/0.001229, allocations: 108 kB / 15.61 MB, free: 152 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.001299/0.001299, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.291/1.291, allocations: 222.9 MB / 240.2 MB, free: 4.426 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.224/2.224, allocations: 390.2 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.91 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7944/0.7957, allocations: 140.4 MB / 0.9497 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.002169/0.7979, allocations: 1.498 MB / 0.9512 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.799, allocations: 0.8273 MB / 0.952 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.958e-05/0.7991, allocations: 0 / 0.952 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.615e-05/0.7991, allocations: 7.922 kB / 0.952 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.048e-05/0.7992, allocations: 14.88 kB / 0.952 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004916/0.7997, allocations: 150.1 kB / 0.9521 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.341e-05/0.7998, allocations: 85.33 kB / 0.9522 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.095e-05/0.7999, allocations: 18.45 kB / 0.9522 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.636e-05/0.8, allocations: 43.78 kB / 0.9523 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.495e-05/0.8, allocations: 52.94 kB / 0.9523 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.8001, allocations: 8.906 kB / 0.9523 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.8002, allocations: 121.5 kB / 0.9525 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.251e-05/0.8003, allocations: 23.53 kB / 0.9525 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.936e-05/0.8003, allocations: 40.69 kB / 0.9525 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.8005, allocations: 170.7 kB / 0.9527 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.8005, allocations: 11.92 kB / 0.9527 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.273e-06/0.8006, allocations: 0 / 0.9527 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.8006, allocations: 1.125 kB / 0.9527 GB, free: 6.895 MB / 0.7169 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.0005615/0.8011, allocations: 480.7 kB / 0.9532 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.8012, allocations: 9.531 kB / 0.9532 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.653e-05/0.8012, allocations: 36.41 kB / 0.9532 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.318e-05/0.8012, allocations: 8.844 kB / 0.9532 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.976e-05/0.8013, allocations: 187.2 kB / 0.9534 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.8013, allocations: 11.28 kB / 0.9534 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.8014, allocations: 9.562 kB / 0.9534 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.8016, allocations: 87.58 kB / 0.9535 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.8016, allocations: 0 / 0.9535 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.8016, allocations: 0.875 kB / 0.9535 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.8016, allocations: 5.312 kB / 0.9535 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.8017, allocations: 50.45 kB / 0.9535 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004036/0.8022, allocations: 321.8 kB / 0.9539 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.8023, allocations: 82.66 kB / 0.9539 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.934e-05/0.8025, allocations: 42.25 kB / 0.954 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.8025, allocations: 9.453 kB / 0.954 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/0.8027, allocations: 92.88 kB / 0.9541 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.8027, allocations: 0 / 0.9541 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004433/0.8031, allocations: 184.1 kB / 0.9542 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.8032, allocations: 60.75 kB / 0.9543 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.962e-05/0.8032, allocations: 134 kB / 0.9544 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.8032, allocations: 31.2 kB / 0.9545 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.153e-05/0.8033, allocations: 91.36 kB / 0.9546 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.8033, allocations: 23 kB / 0.9546 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.8033, allocations: 30.61 kB / 0.9546 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.757e-05/0.8034, allocations: 321.1 kB / 0.9549 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.741e-05/0.8035, allocations: 22.64 kB / 0.9549 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.493e-05/0.8035, allocations: 75.73 kB / 0.955 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.8037, allocations: 108.8 kB / 0.9551 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.8037, allocations: 1.156 kB / 0.9551 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000198/0.8039, allocations: 118.5 kB / 0.9552 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.8039, allocations: 10.09 kB / 0.9552 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.8039, allocations: 2.922 kB / 0.9552 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.804, allocations: 1.438 kB / 0.9552 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.807e-05/0.804, allocations: 22.39 kB / 0.9553 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.8041, allocations: 6.359 kB / 0.9553 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.923e-05/0.8041, allocations: 12.69 kB / 0.9553 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.8041, allocations: 3.75 kB / 0.9553 GB, free: 4.488 MB / 0.7169 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 6.316e-05/0.8042, allocations: 136 kB / 0.9554 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.817e-05/0.8042, allocations: 6.5 kB / 0.9554 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.123e-05/0.8043, allocations: 11.41 kB / 0.9554 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.8043, allocations: 5.188 kB / 0.9554 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.8043, allocations: 0 / 0.9554 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.8043, allocations: 0 / 0.9554 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004111/0.8047, allocations: 430 kB / 0.9558 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.8047, allocations: 3.594 kB / 0.9558 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.585e-05/0.8047, allocations: 15.66 kB / 0.9559 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.8047, allocations: 0 / 0.9559 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.8048, allocations: 7.984 kB / 0.9559 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.8048, allocations: 0 / 0.9559 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.8048, allocations: 7.875 kB / 0.9559 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.8051, allocations: 241.4 kB / 0.9561 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.071e-05/0.8051, allocations: 87.92 kB / 0.9562 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.8051, allocations: 5.125 kB / 0.9562 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.8052, allocations: 9.297 kB / 0.9562 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.8053, allocations: 6.938 kB / 0.9562 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.8053, allocations: 6.547 kB / 0.9562 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.588e-05/0.8053, allocations: 103.5 kB / 0.9563 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8053, allocations: 1.062 kB / 0.9563 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002945/0.8056, allocations: 46.47 kB / 0.9564 GB, free: 3.516 MB / 0.7169 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.0006508/0.8063, allocations: 0.8472 MB / 0.9572 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002411/0.8065, allocations: 91.08 kB / 0.9573 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.8065, allocations: 0 / 0.9573 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.8067, allocations: 51.66 kB / 0.9573 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.8069, allocations: 19.91 kB / 0.9573 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.8082, allocations: 1.6 MB / 0.9589 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.8083, allocations: 0.6947 MB / 0.9596 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.068e-05/0.8083, allocations: 3.562 kB / 0.9596 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.522e-05/0.8083, allocations: 23.02 kB / 0.9596 GB, free: 488 kB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.8084, allocations: 0 / 0.9596 GB, free: 488 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.818/3.626, allocations: 3.168 MB / 0.9627 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.259/12.89, allocations: 6.094 kB / 0.9627 GB, free: 14.84 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.fmu > Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches