Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ac.TIn|ac.occ|ac.on",fileNamePrefix="Buildings_latest_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_latest_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.001557/0.001557, allocations: 105.1 kB / 15.98 MB, free: 6.352 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.001671/0.001672, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.486/1.486, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.764/2.764, allocations: 482.4 MB / 0.755 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 54.66 kB / 0.924 GB, free: 352 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8215/0.8233, allocations: 162.2 MB / 1.082 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002574/0.826, allocations: 1.548 MB / 1.084 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.8273, allocations: 0.8198 MB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.33e-05/0.8273, allocations: 1.062 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.037e-05/0.8274, allocations: 0.7969 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.359e-05/0.8274, allocations: 10.98 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006209/0.8281, allocations: 139.2 kB / 1.085 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.8282, allocations: 93.2 kB / 1.085 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.8283, allocations: 16.72 kB / 1.085 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.645e-05/0.8284, allocations: 41.88 kB / 1.085 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.737e-05/0.8285, allocations: 45.14 kB / 1.085 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.8285, allocations: 7.781 kB / 1.085 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000242/0.8288, allocations: 123.9 kB / 1.085 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.058e-05/0.8288, allocations: 33.09 kB / 1.085 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.205e-05/0.8289, allocations: 37.98 kB / 1.085 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.8291, allocations: 129.4 kB / 1.085 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.8292, allocations: 0 / 1.085 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.172e-06/0.8292, allocations: 0 / 1.085 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.8292, allocations: 0 / 1.085 GB, free: 15.68 MB / 0.8419 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.0007902/0.83, allocations: 479 kB / 1.086 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.83, allocations: 14.19 kB / 1.086 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.978e-05/0.8301, allocations: 8.438 kB / 1.086 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.8302, allocations: 183.5 kB / 1.086 GB, free: 15 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.8303, allocations: 3.406 kB / 1.086 GB, free: 15 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.8303, allocations: 5.328 kB / 1.086 GB, free: 15 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002486/0.8305, allocations: 92.34 kB / 1.086 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.8305, allocations: 5.609 kB / 1.086 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.8306, allocations: 0 / 1.086 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.8306, allocations: 1.438 kB / 1.086 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001764/0.8308, allocations: 53.09 kB / 1.086 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000607/0.8314, allocations: 323.4 kB / 1.086 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.8316, allocations: 85.22 kB / 1.087 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.8318, allocations: 40.28 kB / 1.087 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.8318, allocations: 1.031 kB / 1.087 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002619/0.8321, allocations: 97.34 kB / 1.087 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.8321, allocations: 0 / 1.087 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.0005504/0.8326, allocations: 192.7 kB / 1.087 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.8327, allocations: 54.78 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.8328, allocations: 134.7 kB / 1.087 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.8329, allocations: 32.94 kB / 1.087 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.8329, allocations: 91.86 kB / 1.087 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.833, allocations: 14.34 kB / 1.087 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.599e-05/0.833, allocations: 28.95 kB / 1.087 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.8332, allocations: 327.4 kB / 1.088 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.588e-05/0.8333, allocations: 27.36 kB / 1.088 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.8334, allocations: 71.39 kB / 1.088 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.8336, allocations: 107.4 kB / 1.088 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.8336, allocations: 1.125 kB / 1.088 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002591/0.8339, allocations: 132.2 kB / 1.088 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.8339, allocations: 5.453 kB / 1.088 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.8339, allocations: 2.438 kB / 1.088 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.8339, allocations: 1.625 kB / 1.088 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.244e-05/0.834, allocations: 17.83 kB / 1.088 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.834, allocations: 2.531 kB / 1.088 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.088e-05/0.8341, allocations: 14.17 kB / 1.088 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.8341, allocations: 4.703 kB / 1.088 GB, free: 13.52 MB / 0.8419 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.000155/0.8343, allocations: 130.2 kB / 1.088 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.8343, allocations: 8.156 kB / 1.088 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.073e-05/0.8344, allocations: 12.55 kB / 1.088 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.8344, allocations: 1 kB / 1.088 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.8344, allocations: 0 / 1.088 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.8344, allocations: 0.5625 kB / 1.088 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006364/0.835, allocations: 440.1 kB / 1.088 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.835, allocations: 0 / 1.088 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.283e-05/0.8351, allocations: 10.08 kB / 1.088 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.8351, allocations: 0 / 1.088 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.8351, allocations: 3.875 kB / 1.088 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.8351, allocations: 0 / 1.088 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.8351, allocations: 4.938 kB / 1.089 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004056/0.8355, allocations: 245.7 kB / 1.089 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.885e-05/0.8356, allocations: 83.12 kB / 1.089 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.8356, allocations: 2.859 kB / 1.089 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.8357, allocations: 11.42 kB / 1.089 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.8358, allocations: 9.906 kB / 1.089 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.8358, allocations: 3.578 kB / 1.089 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.29e-05/0.8359, allocations: 104.5 kB / 1.089 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8359, allocations: 0 / 1.089 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003544/0.8363, allocations: 58.25 kB / 1.089 GB, free: 12.62 MB / 0.8419 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.0004035/0.8367, allocations: 176.6 kB / 1.089 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00031/0.837, allocations: 97.09 kB / 1.089 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.837, allocations: 0 / 1.089 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.8371, allocations: 49.94 kB / 1.089 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.8374, allocations: 11.09 kB / 1.089 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004936/0.8379, allocations: 250.2 kB / 1.09 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.8383, allocations: 0.6973 MB / 1.09 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.245e-05/0.8383, allocations: 13.12 kB / 1.09 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of SimCode: time 2.245e-06/0.8383, allocations: 0 / 1.09 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of Templates: time 0.004286/0.8426, allocations: 1.836 MB / 1.092 GB, free: 11.36 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & ./Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches