Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001286/0.001286, allocations: 117.5 kB / 16.37 MB, free: 6.016 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.001558/0.001558, allocations: 189.7 kB / 17.3 MB, free: 5.613 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.653/2.653, allocations: 442.6 MB / 0.7165 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 68.92 kB / 0.8773 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.324, allocations: 153 MB / 1.027 GB, free: 2.117 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.002823/0.3269, allocations: 1.517 MB / 1.028 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.3283, allocations: 0.8372 MB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.592e-05/0.3284, allocations: 0 / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.158e-05/0.3284, allocations: 7.875 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.541e-05/0.3285, allocations: 7.875 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006094/0.3291, allocations: 155.5 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.3293, allocations: 91.77 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.3294, allocations: 11.98 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.372e-05/0.3295, allocations: 43.84 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.283e-05/0.3296, allocations: 47.77 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.3296, allocations: 8 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002179/0.3298, allocations: 127.8 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.042e-05/0.3299, allocations: 23.91 kB / 1.03 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.456e-05/0.3299, allocations: 39.8 kB / 1.03 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.3302, allocations: 179.5 kB / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.3302, allocations: 8 kB / 1.03 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3302, allocations: 4 kB / 1.03 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.3302, allocations: 0 / 1.03 GB, free: 15.01 MB / 0.8106 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.0007255/0.331, allocations: 478.5 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.331, allocations: 12.03 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.3311, allocations: 8.844 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.3312, allocations: 182.9 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.3312, allocations: 8.312 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.3313, allocations: 8.375 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.3315, allocations: 85.95 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.3315, allocations: 0 / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.3315, allocations: 7.984 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3315, allocations: 0 / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.3317, allocations: 47.97 kB / 1.031 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005513/0.3323, allocations: 320.7 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.3325, allocations: 90.5 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.3326, allocations: 40.83 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.3327, allocations: 4 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002311/0.3329, allocations: 103.3 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.3329, allocations: 3.938 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0005387/0.3335, allocations: 177.5 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.3335, allocations: 55.41 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.3336, allocations: 130.1 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.3337, allocations: 33.7 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.07e-05/0.3337, allocations: 96.12 kB / 1.032 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.3338, allocations: 19.89 kB / 1.032 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.3338, allocations: 29.7 kB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3339, allocations: 322.8 kB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.938e-05/0.334, allocations: 27.97 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.3341, allocations: 73.94 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.3343, allocations: 101.9 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.3343, allocations: 4 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002334/0.3346, allocations: 129.3 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.3346, allocations: 8 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3346, allocations: 0 / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.3346, allocations: 4.188 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-05/0.3347, allocations: 15.98 kB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.3347, allocations: 4 kB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.838e-05/0.3348, allocations: 11.91 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.3348, allocations: 7.984 kB / 1.032 GB, free: 12.13 MB / 0.8106 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.705e-05/0.3349, allocations: 129.7 kB / 1.032 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.335, allocations: 7.906 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.986e-05/0.335, allocations: 8.719 kB / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.335, allocations: 8 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.335, allocations: 0 / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.335, allocations: 3.984 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005918/0.3356, allocations: 434.3 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3356, allocations: 0 / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.22e-05/0.3357, allocations: 4 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3357, allocations: 0 / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.3357, allocations: 3.984 kB / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3357, allocations: 4 kB / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3357, allocations: 3.938 kB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003746/0.3361, allocations: 247.8 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.673e-05/0.3362, allocations: 85.02 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.3362, allocations: 3.938 kB / 1.033 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.3363, allocations: 15.98 kB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.3364, allocations: 7.938 kB / 1.033 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.3364, allocations: 7.984 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.233e-05/0.3365, allocations: 106 kB / 1.033 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3365, allocations: 0 / 1.033 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000364/0.3369, allocations: 51.98 kB / 1.033 GB, free: 10.92 MB / 0.8106 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.0003446/0.3372, allocations: 175.1 kB / 1.034 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002772/0.3375, allocations: 91.88 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3375, allocations: 0 / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.3377, allocations: 47.91 kB / 1.034 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.3379, allocations: 15.17 kB / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004601/0.3384, allocations: 200.2 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.3387, allocations: 0.6924 MB / 1.035 GB, free: 9.664 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.347e-05/0.3387, allocations: 4 kB / 1.035 GB, free: 9.66 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.75e-05/0.3388, allocations: 15.44 kB / 1.035 GB, free: 9.645 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.3388, allocations: 0 / 1.035 GB, free: 9.645 MB / 0.8106 GB Notification: Performance of Templates: time 0.004743/0.3435, allocations: 1.883 MB / 1.036 GB, free: 7.773 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & ./Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches