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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001615/0.001615, allocations: 100.5 kB / 16.35 MB, free: 5.824 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.001836/0.001836, allocations: 193.4 kB / 17.29 MB, free: 5.48 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.213/2.213, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 67.86 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2899, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002802/0.2928, allocations: 1.505 MB / 0.9526 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001445/0.2942, allocations: 0.8373 MB / 0.9534 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.777e-05/0.2943, allocations: 0 / 0.9534 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.987e-05/0.2943, allocations: 7.875 kB / 0.9534 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.466e-05/0.2944, allocations: 11.88 kB / 0.9534 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005915/0.295, allocations: 155.5 kB / 0.9536 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.2951, allocations: 87.77 kB / 0.9536 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.466e-05/0.2952, allocations: 15.98 kB / 0.9537 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.956e-05/0.2953, allocations: 39.84 kB / 0.9537 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.162e-05/0.2954, allocations: 47.83 kB / 0.9537 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.2955, allocations: 8 kB / 0.9538 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002173/0.2957, allocations: 123.8 kB / 0.9539 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.183e-05/0.2957, allocations: 23.91 kB / 0.9539 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.728e-05/0.2958, allocations: 39.86 kB / 0.9539 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.2961, allocations: 183.5 kB / 0.9541 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2961, allocations: 3.938 kB / 0.9541 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2961, allocations: 0 / 0.9541 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.2961, allocations: 3.938 kB / 0.9541 GB, free: 4.973 MB / 0.7325 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.0007278/0.2968, allocations: 486.5 kB / 0.9546 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.2969, allocations: 8.031 kB / 0.9546 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.2969, allocations: 16.83 kB / 0.9546 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.297, allocations: 172.2 kB / 0.9548 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.688e-05/0.2971, allocations: 8.375 kB / 0.9548 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.2971, allocations: 4.375 kB / 0.9548 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.2973, allocations: 89.89 kB / 0.9549 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.2974, allocations: 7.922 kB / 0.9549 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.2974, allocations: 4 kB / 0.9549 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.2974, allocations: 0 / 0.9549 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.2975, allocations: 47.97 kB / 0.9549 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005159/0.2981, allocations: 320.8 kB / 0.9552 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.2983, allocations: 86.56 kB / 0.9553 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.2984, allocations: 48.83 kB / 0.9554 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.2984, allocations: 0 / 0.9554 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002161/0.2987, allocations: 91.36 kB / 0.9554 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.2987, allocations: 0 / 0.9554 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0005191/0.2992, allocations: 185.6 kB / 0.9556 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.2993, allocations: 59.39 kB / 0.9557 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.2994, allocations: 136.7 kB / 0.9558 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.2994, allocations: 33.7 kB / 0.9558 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/0.2995, allocations: 88.12 kB / 0.9559 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.2995, allocations: 19.75 kB / 0.9559 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/0.2996, allocations: 33.7 kB / 0.956 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.2997, allocations: 322.8 kB / 0.9563 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.804e-05/0.2998, allocations: 31.98 kB / 0.9563 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.774e-05/0.2999, allocations: 65.5 kB / 0.9564 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.3001, allocations: 105.9 kB / 0.9565 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3001, allocations: 0 / 0.9565 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002288/0.3003, allocations: 125.6 kB / 0.9566 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3003, allocations: 8.031 kB / 0.9566 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3004, allocations: 4 kB / 0.9566 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3004, allocations: 0 / 0.9566 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.955e-05/0.3005, allocations: 19.92 kB / 0.9566 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3005, allocations: 0 / 0.9566 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.794e-05/0.3006, allocations: 23.83 kB / 0.9567 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.3006, allocations: 4 kB / 0.9567 GB, free: 2.094 MB / 0.7325 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.573e-05/0.3007, allocations: 121.8 kB / 0.9568 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.921e-05/0.3007, allocations: 7.906 kB / 0.9568 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.306e-05/0.3008, allocations: 16.75 kB / 0.9568 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.3008, allocations: 0 / 0.9568 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-06/0.3008, allocations: 4 kB / 0.9568 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.3008, allocations: 3.984 kB / 0.9568 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005788/0.3014, allocations: 438.5 kB / 0.9572 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3014, allocations: 0 / 0.9572 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.929e-05/0.3014, allocations: 8 kB / 0.9572 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.3014, allocations: 0 / 0.9572 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.3015, allocations: 7.984 kB / 0.9572 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3015, allocations: 0 / 0.9572 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3015, allocations: 3.938 kB / 0.9572 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003647/0.3018, allocations: 247.4 kB / 0.9575 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.208e-05/0.3019, allocations: 85.02 kB / 0.9576 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.3019, allocations: 4 kB / 0.9576 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.3021, allocations: 11.98 kB / 0.9576 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/0.3021, allocations: 7.938 kB / 0.9576 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.3021, allocations: 7.984 kB / 0.9576 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.678e-05/0.3022, allocations: 97.66 kB / 0.9577 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3022, allocations: 0 / 0.9577 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000338/0.3025, allocations: 51.98 kB / 0.9577 GB, free: 0.8906 MB / 0.7325 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.0003508/0.3029, allocations: 174.5 kB / 0.9579 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002783/0.3032, allocations: 87.83 kB / 0.958 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3032, allocations: 0 / 0.958 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.3033, allocations: 52.34 kB / 0.958 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.3036, allocations: 11.98 kB / 0.958 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004455/0.3041, allocations: 208.1 kB / 0.9582 GB, free: 352 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.3044, allocations: 0.6923 MB / 0.9589 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.454e-05/0.3044, allocations: 8 kB / 0.9589 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/0.3044, allocations: 11.44 kB / 0.9589 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.3044, allocations: 3.938 kB / 0.9589 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of Templates: time 0.004983/0.3094, allocations: 1.89 MB / 0.9608 GB, free: 13.73 MB / 0.7481 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 -s cvode -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/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