Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001486/0.001486, allocations: 111.3 kB / 15.99 MB, free: 6.348 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.001464/0.001464, allocations: 191.7 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.383/1.383, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.506/2.506, allocations: 437.1 MB / 0.7107 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 58.67 kB / 0.8694 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.316, allocations: 151.6 MB / 1.017 GB, free: 10.99 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002865/0.3189, allocations: 1.563 MB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.3204, allocations: 0.8179 MB / 1.02 GB, free: 8.594 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.137e-05/0.3204, allocations: 4 kB / 1.02 GB, free: 8.59 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.838e-05/0.3205, allocations: 7.922 kB / 1.02 GB, free: 8.582 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.069e-05/0.3206, allocations: 7.922 kB / 1.02 GB, free: 8.574 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000599/0.3212, allocations: 135.7 kB / 1.02 GB, free: 8.441 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.3213, allocations: 87.7 kB / 1.02 GB, free: 8.355 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.918e-05/0.3214, allocations: 15.98 kB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.3215, allocations: 39.91 kB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.341e-05/0.3216, allocations: 43.83 kB / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.3217, allocations: 8 kB / 1.02 GB, free: 8.25 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002268/0.3219, allocations: 131.8 kB / 1.02 GB, free: 8.121 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.428e-05/0.3219, allocations: 23.91 kB / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.483e-05/0.322, allocations: 35.8 kB / 1.02 GB, free: 8.062 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.3222, allocations: 132 kB / 1.02 GB, free: 7.934 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3222, allocations: 0 / 1.02 GB, free: 7.934 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3222, allocations: 0 / 1.02 GB, free: 7.934 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.3222, allocations: 0 / 1.02 GB, free: 7.934 MB / 0.795 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.0008168/0.3231, allocations: 486.5 kB / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.3231, allocations: 8.922 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.314e-05/0.3232, allocations: 12.83 kB / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.3233, allocations: 180.1 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.3234, allocations: 8.312 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.3234, allocations: 8.375 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.3236, allocations: 89.94 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3237, allocations: 0 / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.3237, allocations: 0 / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.3237, allocations: 4 kB / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.3239, allocations: 47.97 kB / 1.021 GB, free: 7.004 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005914/0.3245, allocations: 324.7 kB / 1.022 GB, free: 6.637 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.3247, allocations: 78.55 kB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.3248, allocations: 52.81 kB / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.3249, allocations: 160 / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002372/0.3251, allocations: 95.38 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 3.196e-06/0.3251, allocations: 3.984 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.000522/0.3256, allocations: 189.5 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.3257, allocations: 51.41 kB / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.3258, allocations: 136.3 kB / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.3258, allocations: 29.7 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/0.3259, allocations: 92.12 kB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.3259, allocations: 23.73 kB / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.154e-05/0.326, allocations: 29.7 kB / 1.022 GB, free: 5.801 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3262, allocations: 330.8 kB / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.32e-05/0.3262, allocations: 23.98 kB / 1.023 GB, free: 5.445 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.3264, allocations: 70.44 kB / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.3266, allocations: 105.9 kB / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3266, allocations: 0 / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002488/0.3268, allocations: 129.4 kB / 1.023 GB, free: 5.098 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.3268, allocations: 4 kB / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3269, allocations: 0 / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.3269, allocations: 4 kB / 1.023 GB, free: 5.09 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.869e-05/0.327, allocations: 19.98 kB / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.902e-06/0.327, allocations: 0 / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.43e-05/0.327, allocations: 11.89 kB / 1.023 GB, free: 5.059 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.3271, allocations: 8.188 kB / 1.023 GB, free: 5.051 MB / 0.795 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.0001119/0.3272, allocations: 130.4 kB / 1.023 GB, free: 4.914 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.3272, allocations: 7.906 kB / 1.023 GB, free: 4.906 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.241e-05/0.3273, allocations: 16.66 kB / 1.023 GB, free: 4.887 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3273, allocations: 3.938 kB / 1.023 GB, free: 4.883 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3273, allocations: 3.984 kB / 1.023 GB, free: 4.879 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3273, allocations: 0 / 1.023 GB, free: 4.879 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006237/0.3279, allocations: 438.3 kB / 1.024 GB, free: 4.395 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3279, allocations: 0 / 1.024 GB, free: 4.395 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.911e-05/0.328, allocations: 4 kB / 1.024 GB, free: 4.391 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.328, allocations: 0 / 1.024 GB, free: 4.391 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.328, allocations: 3.984 kB / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.328, allocations: 8 kB / 1.024 GB, free: 4.379 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.328, allocations: 3.938 kB / 1.024 GB, free: 4.375 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003883/0.3284, allocations: 243.4 kB / 1.024 GB, free: 4.121 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-05/0.3285, allocations: 85.02 kB / 1.024 GB, free: 4.02 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.3285, allocations: 0 / 1.024 GB, free: 4.02 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.3286, allocations: 11.98 kB / 1.024 GB, free: 4.008 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.3287, allocations: 7.875 kB / 1.024 GB, free: 4 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.3287, allocations: 7.984 kB / 1.024 GB, free: 3.992 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.606e-05/0.3288, allocations: 99.27 kB / 1.024 GB, free: 3.895 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.3288, allocations: 4 kB / 1.024 GB, free: 3.891 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00034/0.3291, allocations: 47.98 kB / 1.024 GB, free: 3.844 MB / 0.795 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.0004319/0.3296, allocations: 176.1 kB / 1.024 GB, free: 3.68 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002904/0.3299, allocations: 92.41 kB / 1.024 GB, free: 3.59 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3299, allocations: 0 / 1.024 GB, free: 3.59 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.33, allocations: 51.91 kB / 1.024 GB, free: 3.539 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.3303, allocations: 19.5 kB / 1.024 GB, free: 3.523 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005205/0.3308, allocations: 250.3 kB / 1.025 GB, free: 3.246 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.3312, allocations: 0.6947 MB / 1.025 GB, free: 2.527 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.816e-05/0.3312, allocations: 11.44 kB / 1.025 GB, free: 2.52 MB / 0.795 GB Notification: Performance of SimCode: time 2.21e-07/0.3312, allocations: 0 / 1.025 GB, free: 2.52 MB / 0.795 GB Notification: Performance of Templates: time 0.004121/0.3354, allocations: 1.849 MB / 1.027 GB, free: 0.6758 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.makefile (rm -f Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & ./Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches