Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009077/0.0009077, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005956/0.005957, allocations: 174 kB / 16.27 MB, free: 6.648 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.485/1.485, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.662/2.662, allocations: 443.3 MB / 0.7175 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003872/0.0003874, allocations: 11.62 kB / 0.8796 GB, free: 41.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.338, allocations: 155.2 MB / 1.031 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001906/0.3399, allocations: 1.226 MB / 1.032 GB, free: 3.047 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.3414, allocations: 0.7639 MB / 1.033 GB, free: 2.277 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.334e-05/0.3415, allocations: 3.938 kB / 1.033 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.45e-05/0.3415, allocations: 0 / 1.033 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.3416, allocations: 23.84 kB / 1.033 GB, free: 2.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005268/0.3422, allocations: 99.77 kB / 1.033 GB, free: 2.152 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.3423, allocations: 79.77 kB / 1.033 GB, free: 2.074 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.784e-05/0.3424, allocations: 16 kB / 1.033 GB, free: 2.059 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.3425, allocations: 39.78 kB / 1.033 GB, free: 2.02 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.974e-05/0.3426, allocations: 39.77 kB / 1.033 GB, free: 1.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.3427, allocations: 4 kB / 1.033 GB, free: 1.977 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001975/0.3429, allocations: 95.84 kB / 1.033 GB, free: 1.883 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.739e-05/0.3429, allocations: 15.92 kB / 1.033 GB, free: 1.867 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.16e-05/0.343, allocations: 57.55 kB / 1.033 GB, free: 1.805 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.3432, allocations: 155.8 kB / 1.034 GB, free: 1.652 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3432, allocations: 0 / 1.034 GB, free: 1.652 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3432, allocations: 0 / 1.034 GB, free: 1.652 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.3432, allocations: 0 / 1.034 GB, free: 1.652 MB / 0.7794 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.0008261/0.3441, allocations: 458.6 kB / 1.034 GB, free: 1.145 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3441, allocations: 8.031 kB / 1.034 GB, free: 1.137 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.788e-05/0.3442, allocations: 12.84 kB / 1.034 GB, free: 1.125 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.3443, allocations: 188.2 kB / 1.034 GB, free: 0.9023 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.074e-05/0.3444, allocations: 34.25 kB / 1.034 GB, free: 0.8633 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.3445, allocations: 8.375 kB / 1.034 GB, free: 0.8555 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.3447, allocations: 77.77 kB / 1.034 GB, free: 0.7734 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.3447, allocations: 0 / 1.034 GB, free: 0.7734 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.3447, allocations: 4 kB / 1.034 GB, free: 0.7695 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3447, allocations: 0 / 1.034 GB, free: 0.7695 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001968/0.3449, allocations: 59.89 kB / 1.034 GB, free: 0.7109 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005726/0.3455, allocations: 320.7 kB / 1.035 GB, free: 356 kB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.3457, allocations: 78.53 kB / 1.035 GB, free: 268 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.3459, allocations: 36.84 kB / 1.035 GB, free: 228 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.3459, allocations: 0 / 1.035 GB, free: 228 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002628/0.3462, allocations: 111.5 kB / 1.035 GB, free: 104 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.864e-06/0.3462, allocations: 0 / 1.035 GB, free: 104 kB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0005368/0.3467, allocations: 173.4 kB / 1.035 GB, free: 15.93 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/0.3468, allocations: 63.39 kB / 1.035 GB, free: 15.85 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.3469, allocations: 132.5 kB / 1.035 GB, free: 15.71 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.3469, allocations: 29.7 kB / 1.035 GB, free: 15.68 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.459e-05/0.347, allocations: 92.38 kB / 1.035 GB, free: 15.58 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.347, allocations: 27.64 kB / 1.035 GB, free: 15.55 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-05/0.3471, allocations: 17.72 kB / 1.035 GB, free: 15.53 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.3472, allocations: 326.8 kB / 1.036 GB, free: 15.2 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.3473, allocations: 31.98 kB / 1.036 GB, free: 15.17 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.3475, allocations: 69.12 kB / 1.036 GB, free: 15.08 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.3477, allocations: 117 kB / 1.036 GB, free: 14.95 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3477, allocations: 0 / 1.036 GB, free: 14.95 MB / 0.795 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003164/0.3481, allocations: 145.5 kB / 1.036 GB, free: 14.8 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.3481, allocations: 10.03 kB / 1.036 GB, free: 14.79 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3481, allocations: 0 / 1.036 GB, free: 14.79 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3481, allocations: 4 kB / 1.036 GB, free: 14.79 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.3482, allocations: 15.98 kB / 1.036 GB, free: 14.77 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.3483, allocations: 7.922 kB / 1.036 GB, free: 14.77 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.3484, allocations: 15.91 kB / 1.036 GB, free: 14.75 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.3484, allocations: 7.984 kB / 1.036 GB, free: 14.74 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.991e-05/0.3485, allocations: 135.3 kB / 1.036 GB, free: 14.6 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.906e-05/0.3485, allocations: 7.906 kB / 1.036 GB, free: 14.59 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.156e-05/0.3486, allocations: 8.719 kB / 1.036 GB, free: 14.58 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3486, allocations: 4 kB / 1.036 GB, free: 14.58 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.3486, allocations: 0 / 1.036 GB, free: 14.58 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3486, allocations: 3.984 kB / 1.036 GB, free: 14.57 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006573/0.3493, allocations: 438.2 kB / 1.037 GB, free: 14.09 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3493, allocations: 3.938 kB / 1.037 GB, free: 14.09 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.469e-05/0.3494, allocations: 11.98 kB / 1.037 GB, free: 14.07 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3494, allocations: 0 / 1.037 GB, free: 14.07 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.3494, allocations: 8 kB / 1.037 GB, free: 14.07 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.3494, allocations: 7.938 kB / 1.037 GB, free: 14.06 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.378e-05/0.3494, allocations: 8.453 kB / 1.037 GB, free: 14.05 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003556/0.3498, allocations: 231.3 kB / 1.037 GB, free: 13.81 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.124e-05/0.3498, allocations: 88.95 kB / 1.037 GB, free: 13.7 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.3499, allocations: 0 / 1.037 GB, free: 13.7 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.35, allocations: 19.92 kB / 1.037 GB, free: 13.68 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.3501, allocations: 15.97 kB / 1.037 GB, free: 13.67 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.3501, allocations: 4 kB / 1.037 GB, free: 13.66 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.917e-05/0.3502, allocations: 99.27 kB / 1.037 GB, free: 13.57 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3502, allocations: 0 / 1.037 GB, free: 13.57 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003304/0.3505, allocations: 43.98 kB / 1.037 GB, free: 13.52 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: 8 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003413/0.3508, allocations: 157.8 kB / 1.037 GB, free: 13.38 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003062/0.3512, allocations: 91.83 kB / 1.038 GB, free: 13.29 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3512, allocations: 0 / 1.038 GB, free: 13.29 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.3513, allocations: 56.25 kB / 1.038 GB, free: 13.23 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.3516, allocations: 21.83 kB / 1.038 GB, free: 13.21 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000464/0.3521, allocations: 231 kB / 1.038 GB, free: 12.96 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.3524, allocations: 0.6965 MB / 1.039 GB, free: 12.24 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 5.815e-05/0.3524, allocations: 4.672 kB / 1.039 GB, free: 12.23 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.668e-05/0.3525, allocations: 23.42 kB / 1.039 GB, free: 12.21 MB / 0.795 GB Notification: Performance of SimCode: time 2.064e-06/0.3525, allocations: 0 / 1.039 GB, free: 12.21 MB / 0.795 GB Notification: Performance of Templates: time 0.004726/0.3572, allocations: 1.645 MB / 1.04 GB, free: 10.57 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches