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 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.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.001575/0.001575, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001574/0.001574, allocations: 192.5 kB / 16.14 MB, free: 6.711 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.408/1.408, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.886/2.886, allocations: 472.6 MB / 0.7447 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 68.03 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3746, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.004076/0.3787, allocations: 1.584 MB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001893/0.3806, allocations: 0.7635 MB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.346e-05/0.3807, allocations: 0 / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.995e-05/0.3808, allocations: 7.922 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.3809, allocations: 11.88 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005884/0.3815, allocations: 103.8 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.3817, allocations: 87.7 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.3818, allocations: 15.97 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.382, allocations: 35.91 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.3821, allocations: 35.84 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.3821, allocations: 7.984 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002378/0.3824, allocations: 91.86 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.088e-05/0.3824, allocations: 23.89 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.632e-05/0.3825, allocations: 31.8 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003332/0.3828, allocations: 151.9 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.3829, allocations: 3.984 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.345e-06/0.3829, allocations: 0 / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3829, allocations: 0 / 1.07 GB, free: 7.891 MB / 0.8262 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.001167/0.3841, allocations: 474.5 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.3841, allocations: 8.031 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.037e-05/0.3842, allocations: 16.78 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.3844, allocations: 180.2 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.596e-05/0.3845, allocations: 34.27 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.3846, allocations: 4.375 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003228/0.3849, allocations: 85.7 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.3849, allocations: 0 / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.385, allocations: 0 / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.385, allocations: 0 / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002851/0.3853, allocations: 59.89 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007289/0.386, allocations: 320.7 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003132/0.3863, allocations: 70.56 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.3865, allocations: 44.84 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.3866, allocations: 0 / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003888/0.387, allocations: 95.34 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.864e-06/0.387, allocations: 0 / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.000735/0.3877, allocations: 169.5 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.3878, allocations: 55.41 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.388, allocations: 130.1 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.388, allocations: 33.7 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.743e-05/0.3881, allocations: 84.38 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.078e-05/0.3881, allocations: 31.78 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.653e-05/0.3882, allocations: 33.7 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.3884, allocations: 326.8 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.3886, allocations: 31.92 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.3888, allocations: 73.12 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/0.3891, allocations: 105 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3892, allocations: 4 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004539/0.3896, allocations: 133.5 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.3897, allocations: 10.53 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.3897, allocations: 4 kB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.28e-05/0.3897, allocations: 7.938 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.3899, allocations: 19.92 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.3899, allocations: 7.938 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.3901, allocations: 19.89 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.3901, allocations: 4 kB / 1.073 GB, free: 4.984 MB / 0.8262 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 0.0001417/0.3903, allocations: 133 kB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.3903, allocations: 7.906 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.658e-05/0.3904, allocations: 12.72 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3904, allocations: 0 / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.3904, allocations: 0 / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3904, allocations: 3.938 kB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008846/0.3913, allocations: 430.2 kB / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.3913, allocations: 4 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.3914, allocations: 11.98 kB / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3915, allocations: 0 / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.3915, allocations: 0 / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.3915, allocations: 3.938 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3915, allocations: 0 / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004821/0.392, allocations: 231.3 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.012e-05/0.3921, allocations: 85.02 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.3921, allocations: 4 kB / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.3923, allocations: 15.92 kB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.705e-05/0.3924, allocations: 7.984 kB / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.3924, allocations: 7.984 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.116e-05/0.3925, allocations: 101.1 kB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.81e-07/0.3925, allocations: 0 / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005289/0.3931, allocations: 40 kB / 1.074 GB, free: 3.809 MB / 0.8262 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.0004341/0.3935, allocations: 169 kB / 1.074 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004291/0.394, allocations: 91.86 kB / 1.074 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.394, allocations: 4.25 kB / 1.074 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002104/0.3942, allocations: 51.91 kB / 1.074 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/0.3947, allocations: 13.67 kB / 1.074 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006777/0.3954, allocations: 221.5 kB / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.3957, allocations: 0.6965 MB / 1.075 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.545e-05/0.3958, allocations: 8.672 kB / 1.075 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.319e-05/0.3959, allocations: 15.42 kB / 1.075 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.3959, allocations: 0 / 1.075 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of Templates: time 0.006477/0.4024, allocations: 1.661 MB / 1.077 GB, free: 0.8477 MB / 0.8262 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