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: translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom") translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00829/0.008289, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001775/0.001776, allocations: 192.9 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.328/2.328, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 67.89 kB / 0.9508 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8888/0.89, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002206/0.8922, allocations: 1.5 MB / 1.089 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.8934, allocations: 0.8232 MB / 1.09 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.967e-05/0.8935, allocations: 1.125 kB / 1.09 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.452e-05/0.8935, allocations: 9.047 kB / 1.09 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.254e-05/0.8936, allocations: 15.16 kB / 1.09 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006135/0.8942, allocations: 154.3 kB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.8944, allocations: 93.64 kB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.941e-05/0.8945, allocations: 8.891 kB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.679e-05/0.8946, allocations: 45.91 kB / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.771e-05/0.8947, allocations: 49.38 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.8947, allocations: 8.188 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002283/0.8949, allocations: 123.4 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.838e-05/0.895, allocations: 20.53 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.681e-05/0.895, allocations: 42.39 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002813/0.8953, allocations: 186.5 kB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.8953, allocations: 0.9688 kB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.203e-06/0.8953, allocations: 0 / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.8953, allocations: 0 / 1.091 GB, free: 3.586 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.0006543/0.896, allocations: 475.8 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.896, allocations: 9.219 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.8961, allocations: 14.11 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.816e-05/0.8962, allocations: 179.6 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.8962, allocations: 2.781 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.8962, allocations: 5.516 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.8964, allocations: 89.58 kB / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.8965, allocations: 4 kB / 1.092 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.8965, allocations: 5.391 kB / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.8965, allocations: 1.406 kB / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.8967, allocations: 51.22 kB / 1.092 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004759/0.8972, allocations: 324.1 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.8974, allocations: 85.3 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.8975, allocations: 45.33 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.8975, allocations: 0.9688 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002291/0.8978, allocations: 96.14 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.684e-06/0.8978, allocations: 4 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0005268/0.8983, allocations: 179.8 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.8984, allocations: 63 kB / 1.092 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.791e-05/0.8985, allocations: 133.2 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.8985, allocations: 31.5 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.564e-05/0.8985, allocations: 97.05 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.8985, allocations: 20.38 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.8986, allocations: 29.59 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.71e-05/0.8986, allocations: 324.6 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.247e-05/0.8987, allocations: 27 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.861e-05/0.8988, allocations: 66.78 kB / 1.093 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.899, allocations: 100.2 kB / 1.093 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.899, allocations: 8.75 kB / 1.093 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002413/0.8992, allocations: 127.1 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.8993, allocations: 7.172 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.8993, allocations: 1.875 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.8993, allocations: 2.438 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-05/0.8994, allocations: 12.92 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.8994, allocations: 2.156 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.842e-05/0.8995, allocations: 23.06 kB / 1.093 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.8995, allocations: 4.359 kB / 1.093 GB, free: 1.426 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 7.02e-05/0.8996, allocations: 129.1 kB / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.8996, allocations: 9.234 kB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.732e-05/0.8996, allocations: 11.03 kB / 1.094 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.8996, allocations: 0.875 kB / 1.094 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.8996, allocations: 1.562 kB / 1.094 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.8997, allocations: 4 kB / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005042/0.9002, allocations: 431.2 kB / 1.094 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.9002, allocations: 1.844 kB / 1.094 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.075e-05/0.9002, allocations: 4.328 kB / 1.094 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.9002, allocations: 0.8125 kB / 1.094 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.9002, allocations: 7.547 kB / 1.094 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.9003, allocations: 0.6875 kB / 1.094 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.9003, allocations: 7.875 kB / 1.094 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000349/0.9006, allocations: 241.8 kB / 1.094 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.098e-05/0.9006, allocations: 87.48 kB / 1.094 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.9007, allocations: 5.938 kB / 1.094 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.9008, allocations: 8.984 kB / 1.094 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.9008, allocations: 12.44 kB / 1.094 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.9009, allocations: 4.719 kB / 1.094 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.88e-05/0.9009, allocations: 107.5 kB / 1.094 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9009, allocations: 0.5625 kB / 1.094 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003387/0.9013, allocations: 50.14 kB / 1.094 GB, free: 0.5352 MB / 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.0003312/0.9016, allocations: 174.3 kB / 1.095 GB, free: 436 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002974/0.9019, allocations: 95.41 kB / 1.095 GB, free: 404 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.9019, allocations: 0 / 1.095 GB, free: 404 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.9021, allocations: 51.02 kB / 1.095 GB, free: 388 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.9023, allocations: 12.25 kB / 1.095 GB, free: 384 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003868/0.9027, allocations: 209.8 kB / 1.095 GB, free: 220 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.903, allocations: 0.6915 MB / 1.096 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.595e-05/0.903, allocations: 5.719 kB / 1.096 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.489e-05/0.9031, allocations: 11.8 kB / 1.096 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.9031, allocations: 0 / 1.096 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of Templates: time 0.005494/0.9086, allocations: 1.898 MB / 1.098 GB, free: 15.34 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.makefile (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 & ./Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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