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.006149/0.006149, allocations: 102.2 kB / 15.73 MB, free: 5.508 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.001395/0.001395, allocations: 195.6 kB / 16.67 MB, free: 5.438 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.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.652/2.652, allocations: 437 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 59.91 kB / 1.018 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3041, allocations: 151.6 MB / 1.167 GB, free: 6.926 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002373/0.3065, allocations: 1.509 MB / 1.168 GB, free: 5.398 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.3077, allocations: 0.7712 MB / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.331e-05/0.3077, allocations: 0 / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.42e-05/0.3078, allocations: 7.922 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.674e-05/0.3079, allocations: 15.8 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005003/0.3084, allocations: 123.6 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.3085, allocations: 91.7 kB / 1.169 GB, free: 4.387 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.3086, allocations: 12 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.959e-05/0.3088, allocations: 51.77 kB / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.96e-05/0.3088, allocations: 39.83 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.3089, allocations: 4 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002005/0.3091, allocations: 99.84 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.111e-05/0.3091, allocations: 15.98 kB / 1.169 GB, free: 4.168 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.231e-05/0.3092, allocations: 39.78 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.3094, allocations: 159.4 kB / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.3094, allocations: 0 / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3094, allocations: 0 / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.3095, allocations: 0 / 1.169 GB, free: 3.973 MB / 0.92 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.0007278/0.3102, allocations: 482.3 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.3102, allocations: 8.031 kB / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.276e-05/0.3103, allocations: 8.891 kB / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.3104, allocations: 190.6 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.936e-05/0.3105, allocations: 30.27 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.3105, allocations: 8.375 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.3107, allocations: 73.77 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3107, allocations: 0 / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.3108, allocations: 11.98 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3108, allocations: 0 / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001877/0.311, allocations: 43.91 kB / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005011/0.3115, allocations: 336.6 kB / 1.171 GB, free: 2.648 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.3117, allocations: 66.55 kB / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.3118, allocations: 36.83 kB / 1.171 GB, free: 2.535 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.3119, allocations: 8 kB / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000224/0.3121, allocations: 91.39 kB / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 2.815e-06/0.3121, allocations: 0 / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0005004/0.3126, allocations: 173.4 kB / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.3127, allocations: 63.41 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.3128, allocations: 134 kB / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.3128, allocations: 25.7 kB / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.455e-05/0.3129, allocations: 100.3 kB / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.3129, allocations: 19.86 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.202e-05/0.313, allocations: 29.7 kB / 1.171 GB, free: 1.84 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3131, allocations: 326.8 kB / 1.172 GB, free: 1.512 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.3132, allocations: 31.98 kB / 1.172 GB, free: 1.48 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.3134, allocations: 69.06 kB / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/0.3136, allocations: 109 kB / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.3136, allocations: 0 / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002923/0.3139, allocations: 141.5 kB / 1.172 GB, free: 1.125 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.3139, allocations: 4 kB / 1.172 GB, free: 1.121 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3139, allocations: 4.125 kB / 1.172 GB, free: 1.117 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.314, allocations: 4 kB / 1.172 GB, free: 1.113 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.3141, allocations: 15.98 kB / 1.172 GB, free: 1.098 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.3141, allocations: 7.922 kB / 1.172 GB, free: 1.09 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.3142, allocations: 11.94 kB / 1.172 GB, free: 1.078 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.3142, allocations: 11.98 kB / 1.172 GB, free: 1.066 MB / 0.92 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.096e-05/0.3143, allocations: 121.8 kB / 1.172 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.3144, allocations: 15.91 kB / 1.172 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.32e-05/0.3144, allocations: 9.094 kB / 1.172 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3144, allocations: 4 kB / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3144, allocations: 0 / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.3144, allocations: 3.984 kB / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006067/0.315, allocations: 426.4 kB / 1.173 GB, free: 444 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3151, allocations: 4 kB / 1.173 GB, free: 440 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.281e-05/0.3151, allocations: 15.98 kB / 1.173 GB, free: 424 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3151, allocations: 0 / 1.173 GB, free: 424 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.3152, allocations: 8 kB / 1.173 GB, free: 416 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.3152, allocations: 7.922 kB / 1.173 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.3152, allocations: 3.984 kB / 1.173 GB, free: 404 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003477/0.3155, allocations: 223.4 kB / 1.173 GB, free: 164 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.3156, allocations: 89.02 kB / 1.173 GB, free: 56 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.3156, allocations: 4 kB / 1.173 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.3158, allocations: 15.86 kB / 1.173 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.76e-05/0.3158, allocations: 19.97 kB / 1.173 GB, free: 16 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.3158, allocations: 0 / 1.173 GB, free: 16 kB / 0.92 GB Notification: Performance of sorting global known variables: time 7.92e-05/0.3159, allocations: 110 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3159, allocations: 0 / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000323/0.3163, allocations: 43.92 kB / 1.173 GB, free: 15.87 MB / 0.9356 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.0003725/0.3166, allocations: 166.2 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000307/0.317, allocations: 87.83 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.317, allocations: 0 / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.3171, allocations: 52.16 kB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.3174, allocations: 11.98 kB / 1.173 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004863/0.3179, allocations: 211.5 kB / 1.174 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.3182, allocations: 0.6929 MB / 1.174 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.059e-05/0.3183, allocations: 12.67 kB / 1.174 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.917e-05/0.3183, allocations: 15.42 kB / 1.174 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.3183, allocations: 0 / 1.174 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of Templates: time 0.005028/0.3234, allocations: 1.822 MB / 1.176 GB, free: 12.77 MB / 0.9356 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