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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001058/0.001059, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001383/0.001383, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.881/2.881, allocations: 437.7 MB / 0.7117 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004837/0.0004838, allocations: 12 kB / 0.8722 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8208/0.8213, allocations: 153.8 MB / 1.022 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001772/0.8231, allocations: 1.219 MB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.8245, allocations: 0.7095 MB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.362e-05/0.8246, allocations: 4 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.94e-05/0.8246, allocations: 3.938 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.8248, allocations: 19.84 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005497/0.8253, allocations: 95.77 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.8254, allocations: 75.77 kB / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.685e-05/0.8256, allocations: 12 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.8257, allocations: 43.83 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.824e-05/0.8258, allocations: 31.84 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.8258, allocations: 4 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.826, allocations: 87.84 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.604e-05/0.826, allocations: 11.98 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.659e-05/0.8261, allocations: 37.64 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.8263, allocations: 105.8 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.8263, allocations: 4 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8263, allocations: 0 / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.8263, allocations: 0 / 1.025 GB, free: 13.56 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.0008932/0.8272, allocations: 466.3 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.8273, allocations: 8.562 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/0.8273, allocations: 11.91 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.8275, allocations: 182.9 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.913e-05/0.8276, allocations: 29.7 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.8277, allocations: 11.94 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.8279, allocations: 81.58 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.8279, allocations: 0 / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.8279, allocations: 7.984 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.8279, allocations: 0 / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.8281, allocations: 55.91 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005229/0.8286, allocations: 328.7 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.8289, allocations: 74.55 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.829, allocations: 40.83 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.829, allocations: 0 / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002414/0.8293, allocations: 99.39 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.944e-06/0.8293, allocations: 0 / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0004744/0.8298, allocations: 173.5 kB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.8298, allocations: 51.41 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.8299, allocations: 142.9 kB / 1.026 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.83, allocations: 33.7 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.125e-05/0.83, allocations: 92.36 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.8301, allocations: 23.86 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.696e-06/0.8301, allocations: 4 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.8302, allocations: 322.8 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.8303, allocations: 35.97 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.8305, allocations: 69.12 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.8306, allocations: 47.92 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.8306, allocations: 0 / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002959/0.8309, allocations: 133.4 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.831, allocations: 5.625 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.831, allocations: 4 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.831, allocations: 3.938 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.8311, allocations: 20.11 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.8311, allocations: 15.86 kB / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.8312, allocations: 23.92 kB / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.8313, allocations: 7.984 kB / 1.027 GB, free: 10.75 MB / 0.7794 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 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,occ.y,$PRE.occ.pulseStart,occ.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.8314, allocations: 123.3 kB / 1.027 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.8314, allocations: 7.906 kB / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.938e-05/0.8314, allocations: 16.72 kB / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.8315, allocations: 0 / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.8315, allocations: 0 / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.8315, allocations: 0 / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006203/0.8321, allocations: 442.2 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.8321, allocations: 0 / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.375e-05/0.8322, allocations: 11.98 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.8322, allocations: 96 / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.8322, allocations: 4 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.8322, allocations: 0 / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.8322, allocations: 3.984 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003335/0.8326, allocations: 239.3 kB / 1.028 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.674e-05/0.8326, allocations: 85.02 kB / 1.028 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.8327, allocations: 4 kB / 1.028 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.8328, allocations: 11.98 kB / 1.028 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.8329, allocations: 11.97 kB / 1.028 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.8329, allocations: 12 kB / 1.028 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.48e-05/0.833, allocations: 100.5 kB / 1.028 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.21e-07/0.833, allocations: 0 / 1.028 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003408/0.8333, allocations: 43.98 kB / 1.028 GB, free: 9.551 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003853/0.8337, allocations: 162.3 kB / 1.028 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002892/0.834, allocations: 99.77 kB / 1.029 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.834, allocations: 0 / 1.029 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.8342, allocations: 51.91 kB / 1.029 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.8345, allocations: 24.19 kB / 1.029 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004858/0.8349, allocations: 223 kB / 1.029 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.8352, allocations: 0.7004 MB / 1.03 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.631e-05/0.8353, allocations: 4.672 kB / 1.03 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.926e-05/0.8353, allocations: 15.42 kB / 1.03 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.8353, allocations: 0 / 1.03 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of Templates: time 0.004817/0.8402, allocations: 1.616 MB / 1.031 GB, free: 6.625 MB / 0.7794 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