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 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.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.001591/0.001591, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 199.4 kB / 16.79 MB, free: 6.828 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.38/1.38, allocations: 222.9 MB / 240.5 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.718/2.718, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 75.34 kB / 0.899 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3104, allocations: 157.4 MB / 1.053 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002905/0.3134, allocations: 1.561 MB / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.3148, allocations: 0.8412 MB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.173e-05/0.3149, allocations: 0 / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.767e-05/0.315, allocations: 7.938 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.458e-05/0.3151, allocations: 11.86 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005975/0.3157, allocations: 123.8 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.3158, allocations: 87.7 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.733e-05/0.3159, allocations: 7.984 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.316, allocations: 43.91 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.085e-05/0.3161, allocations: 47.81 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.3161, allocations: 4 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002446/0.3164, allocations: 115.8 kB / 1.056 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.343e-05/0.3164, allocations: 23.91 kB / 1.056 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.255e-05/0.3165, allocations: 31.8 kB / 1.056 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.3167, allocations: 132 kB / 1.056 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3167, allocations: 0 / 1.056 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3167, allocations: 0 / 1.056 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.3167, allocations: 0 / 1.056 GB, free: 5.297 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.0007673/0.3175, allocations: 486.5 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.3175, allocations: 15.97 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.907e-05/0.3176, allocations: 8.844 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.3177, allocations: 180.1 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.3177, allocations: 4.375 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.3178, allocations: 4.375 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.318, allocations: 89.94 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.318, allocations: 4 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.3181, allocations: 4 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3181, allocations: 0 / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.3182, allocations: 51.91 kB / 1.057 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000534/0.3188, allocations: 316.8 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.319, allocations: 86.53 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.3192, allocations: 48.77 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.3192, allocations: 4.094 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002385/0.3194, allocations: 95.3 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.3194, allocations: 0 / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0005035/0.3199, allocations: 177.8 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.32, allocations: 59.41 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.3201, allocations: 132.8 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.3201, allocations: 29.7 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.029e-05/0.3202, allocations: 96.12 kB / 1.058 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.3202, allocations: 27.89 kB / 1.058 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/0.3203, allocations: 33.64 kB / 1.058 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.742e-05/0.3204, allocations: 326.8 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.542e-05/0.3205, allocations: 19.98 kB / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.828e-05/0.3206, allocations: 70 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.3207, allocations: 101.9 kB / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.3208, allocations: 8 kB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002624/0.321, allocations: 121.4 kB / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.321, allocations: 8 kB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.3211, allocations: 4.062 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3211, allocations: 4 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.796e-05/0.3212, allocations: 8 kB / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.3212, allocations: 16.11 kB / 1.058 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.213e-05/0.3213, allocations: 15.94 kB / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.3213, allocations: 7.984 kB / 1.058 GB, free: 2.406 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.739e-05/0.3214, allocations: 125.8 kB / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.3214, allocations: 7.906 kB / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.3214, allocations: 12.64 kB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.3215, allocations: 4 kB / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3215, allocations: 0 / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3215, allocations: 4 kB / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00055/0.322, allocations: 434.3 kB / 1.059 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.322, allocations: 0 / 1.059 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.404e-05/0.3221, allocations: 7.984 kB / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3221, allocations: 0 / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.3221, allocations: 4 kB / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.3221, allocations: 0 / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3221, allocations: 11.94 kB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003632/0.3225, allocations: 243.3 kB / 1.059 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.653e-05/0.3226, allocations: 85.02 kB / 1.059 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.3226, allocations: 4 kB / 1.059 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.3227, allocations: 7.984 kB / 1.059 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.3228, allocations: 11.92 kB / 1.059 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.3228, allocations: 11.94 kB / 1.059 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.909e-05/0.3228, allocations: 102.1 kB / 1.059 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3228, allocations: 0 / 1.059 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000328/0.3232, allocations: 51.98 kB / 1.059 GB, free: 1.203 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.0003829/0.3236, allocations: 159.5 kB / 1.059 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002649/0.3238, allocations: 95.86 kB / 1.06 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3239, allocations: 0 / 1.06 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.324, allocations: 47.92 kB / 1.06 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.3243, allocations: 12.67 kB / 1.06 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004527/0.3247, allocations: 251.9 kB / 1.06 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.325, allocations: 0.6926 MB / 1.061 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.065e-05/0.325, allocations: 11.44 kB / 1.061 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3251, allocations: 4 kB / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of Templates: time 0.003751/0.3288, allocations: 1.822 MB / 1.062 GB, free: 14.07 MB / 0.8262 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=480 -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