Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_10_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_10_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.005121/0.005121, allocations: 98.64 kB / 15.73 MB, free: 5.602 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.001054/0.001054, allocations: 196 kB / 16.68 MB, free: 5.523 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.556/2.556, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 64.11 kB / 1.018 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8799/0.8811, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002601/0.8838, allocations: 1.522 MB / 1.168 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.8851, allocations: 0.7556 MB / 1.169 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.161e-05/0.8852, allocations: 8 kB / 1.169 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.237e-05/0.8852, allocations: 7.875 kB / 1.169 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.901e-05/0.8853, allocations: 15.84 kB / 1.169 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005327/0.8859, allocations: 123.6 kB / 1.169 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.886, allocations: 91.69 kB / 1.169 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.389e-05/0.8861, allocations: 12 kB / 1.169 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.809e-05/0.8862, allocations: 47.84 kB / 1.169 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.753e-05/0.8863, allocations: 35.83 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.8863, allocations: 8 kB / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.8865, allocations: 95.84 kB / 1.169 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.004e-05/0.8865, allocations: 23.91 kB / 1.169 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.795e-05/0.8866, allocations: 39.8 kB / 1.169 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.8869, allocations: 156 kB / 1.169 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.8869, allocations: 0 / 1.169 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.332e-06/0.8869, allocations: 0 / 1.169 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.8869, allocations: 0 / 1.169 GB, free: 0.8711 MB / 0.8887 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.0008025/0.8877, allocations: 490.2 kB / 1.17 GB, free: 340 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.8877, allocations: 8.031 kB / 1.17 GB, free: 332 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.769e-05/0.8878, allocations: 8.891 kB / 1.17 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.8879, allocations: 178.2 kB / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.692e-05/0.888, allocations: 38.25 kB / 1.17 GB, free: 64 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.8881, allocations: 4.375 kB / 1.17 GB, free: 60 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.8883, allocations: 93.69 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.8883, allocations: 0 / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.8883, allocations: 0 / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.8884, allocations: 4 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001938/0.8886, allocations: 51.94 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005492/0.8891, allocations: 320.7 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.8893, allocations: 74.56 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.8895, allocations: 32.84 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.8895, allocations: 12.14 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000238/0.8897, allocations: 95.34 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.8897, allocations: 0 / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0005047/0.8903, allocations: 169.5 kB / 1.171 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.8903, allocations: 55.41 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.8904, allocations: 130.1 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.8905, allocations: 29.64 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.604e-05/0.8905, allocations: 100.3 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.8906, allocations: 27.78 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.428e-05/0.8906, allocations: 29.7 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.8907, allocations: 322.8 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.8909, allocations: 35.97 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.891, allocations: 74.38 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002288/0.8912, allocations: 101.1 kB / 1.172 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.8913, allocations: 4 kB / 1.172 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002919/0.8916, allocations: 137.5 kB / 1.172 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.8916, allocations: 4 kB / 1.172 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.8916, allocations: 0 / 1.172 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.8916, allocations: 4 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.8917, allocations: 20.3 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.8918, allocations: 0 / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.8919, allocations: 20.11 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.8919, allocations: 4 kB / 1.172 GB, free: 13.96 MB / 0.9044 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.466e-05/0.892, allocations: 129.7 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.892, allocations: 15.89 kB / 1.172 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.8921, allocations: 12.72 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.8921, allocations: 4 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.8921, allocations: 0 / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.8921, allocations: 7.828 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005981/0.8927, allocations: 426.3 kB / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.8927, allocations: 4 kB / 1.173 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.49e-05/0.8928, allocations: 7.984 kB / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.8928, allocations: 0 / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.8928, allocations: 4 kB / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.8928, allocations: 3.938 kB / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.8928, allocations: 4 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000347/0.8932, allocations: 227.5 kB / 1.173 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-05/0.8933, allocations: 93 kB / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.8933, allocations: 0 / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.8934, allocations: 15.92 kB / 1.173 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.8935, allocations: 11.98 kB / 1.173 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.8935, allocations: 4 kB / 1.173 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.411e-05/0.8936, allocations: 109.9 kB / 1.173 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8936, allocations: 0 / 1.173 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003075/0.8939, allocations: 35.94 kB / 1.173 GB, free: 12.77 MB / 0.9044 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.0003378/0.8943, allocations: 184.2 kB / 1.173 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003114/0.8946, allocations: 87.88 kB / 1.173 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8946, allocations: 0 / 1.173 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.8947, allocations: 51.91 kB / 1.173 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.895, allocations: 11.98 kB / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004946/0.8955, allocations: 207.8 kB / 1.174 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.8958, allocations: 0.6924 MB / 1.174 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.225e-05/0.8959, allocations: 16.66 kB / 1.174 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.706e-05/0.8959, allocations: 15.38 kB / 1.174 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of SimCode: time 2.715e-06/0.8959, allocations: 0 / 1.174 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of Templates: time 0.004745/0.9007, allocations: 1.808 MB / 1.176 GB, free: 9.672 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches