Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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: translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom") translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00676/0.00676, allocations: 97.66 kB / 15.73 MB, free: 6.047 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.001685/0.001685, allocations: 200.1 kB / 16.68 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.803/2.803, allocations: 469.8 MB / 0.7425 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 68.11 kB / 1.065 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3853, allocations: 159.1 MB / 1.221 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.003181/0.3885, allocations: 1.503 MB / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00164/0.3901, allocations: 0.8373 MB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.955e-05/0.3902, allocations: 0 / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.729e-05/0.3902, allocations: 3.938 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.69e-05/0.3903, allocations: 11.81 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007402/0.391, allocations: 159.5 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.3912, allocations: 91.7 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.3913, allocations: 15.97 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.3914, allocations: 35.91 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.503e-05/0.3915, allocations: 51.77 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.3915, allocations: 8 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002882/0.3918, allocations: 123.9 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.002e-05/0.3918, allocations: 19.92 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.7e-05/0.3919, allocations: 39.78 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003413/0.3923, allocations: 187.4 kB / 1.224 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3923, allocations: 4 kB / 1.224 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3923, allocations: 0 / 1.224 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.3923, allocations: 0 / 1.224 GB, free: 10.79 MB / 0.9825 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.000863/0.3931, allocations: 490.1 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.3932, allocations: 8.031 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.871e-05/0.3932, allocations: 12.88 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.3934, allocations: 172.3 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.841e-05/0.3934, allocations: 4.375 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.3935, allocations: 12.38 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.3937, allocations: 93.88 kB / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3937, allocations: 0 / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.3937, allocations: 0 / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3938, allocations: 0 / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.3939, allocations: 47.97 kB / 1.224 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006121/0.3945, allocations: 332.7 kB / 1.225 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.3947, allocations: 74.58 kB / 1.225 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.3949, allocations: 40.83 kB / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.3949, allocations: 4 kB / 1.225 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002783/0.3952, allocations: 95.36 kB / 1.225 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.3952, allocations: 3.938 kB / 1.225 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005707/0.3957, allocations: 189.6 kB / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.3958, allocations: 55.41 kB / 1.225 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.3959, allocations: 131.8 kB / 1.225 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.3959, allocations: 33.7 kB / 1.225 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.562e-05/0.396, allocations: 96.08 kB / 1.225 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.396, allocations: 19.84 kB / 1.225 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.118e-05/0.3961, allocations: 29.7 kB / 1.225 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3962, allocations: 326.8 kB / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.794e-05/0.3963, allocations: 23.98 kB / 1.226 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.3964, allocations: 70 kB / 1.226 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.3966, allocations: 109.8 kB / 1.226 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3966, allocations: 0 / 1.226 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002523/0.3968, allocations: 121.5 kB / 1.226 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.3969, allocations: 9.875 kB / 1.226 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3969, allocations: 0 / 1.226 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.3969, allocations: 12.12 kB / 1.226 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.397, allocations: 15.92 kB / 1.226 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.397, allocations: 4 kB / 1.226 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.763e-05/0.3971, allocations: 15.94 kB / 1.226 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.3971, allocations: 4 kB / 1.226 GB, free: 7.906 MB / 0.9825 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.0001529/0.3973, allocations: 132.8 kB / 1.226 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.3973, allocations: 7.953 kB / 1.226 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.284e-05/0.3973, allocations: 12.72 kB / 1.226 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3973, allocations: 4 kB / 1.226 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.3973, allocations: 3.984 kB / 1.226 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3973, allocations: 0 / 1.226 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006073/0.398, allocations: 426.4 kB / 1.227 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.398, allocations: 4 kB / 1.227 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.209e-05/0.398, allocations: 4 kB / 1.227 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.398, allocations: 0 / 1.227 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/0.398, allocations: 7.984 kB / 1.227 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.398, allocations: 3.938 kB / 1.227 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.398, allocations: 7.938 kB / 1.227 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003913/0.3984, allocations: 239.4 kB / 1.227 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.527e-05/0.3985, allocations: 85.06 kB / 1.227 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.3985, allocations: 0 / 1.227 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.3986, allocations: 11.98 kB / 1.227 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.3987, allocations: 11.94 kB / 1.227 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.3987, allocations: 7.984 kB / 1.227 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8e-05/0.3988, allocations: 95.27 kB / 1.227 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3988, allocations: 0 / 1.227 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003638/0.3991, allocations: 55.8 kB / 1.227 GB, free: 6.703 MB / 0.9825 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.0004707/0.3996, allocations: 182 kB / 1.227 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002741/0.3999, allocations: 79.89 kB / 1.227 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3999, allocations: 0 / 1.227 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.4, allocations: 43.97 kB / 1.227 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.4003, allocations: 18.48 kB / 1.227 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005233/0.4008, allocations: 215.9 kB / 1.228 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.4011, allocations: 0.6924 MB / 1.228 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.614e-05/0.4012, allocations: 4 kB / 1.228 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.495e-05/0.4012, allocations: 11.44 kB / 1.228 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of SimCode: time 5.41e-07/0.4012, allocations: 4 kB / 1.228 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of Templates: time 0.00532/0.4065, allocations: 1.909 MB / 1.23 GB, free: 3.531 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.makefile (rm -f Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & ./Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches