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.001424/0.001424, allocations: 100.8 kB / 15.98 MB, free: 6.355 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.001578/0.001579, allocations: 196.9 kB / 16.91 MB, free: 6.188 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.325/1.325, allocations: 222.9 MB / 240.6 MB, free: 13.73 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.369/2.369, allocations: 437 MB / 0.7107 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 56.38 kB / 0.8694 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.247, allocations: 151.6 MB / 1.017 GB, free: 10.98 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.00259/0.2497, allocations: 1.577 MB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.2509, allocations: 0.7634 MB / 1.02 GB, free: 8.621 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.435e-05/0.251, allocations: 0 / 1.02 GB, free: 8.621 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.507e-05/0.251, allocations: 3.984 kB / 1.02 GB, free: 8.617 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.965e-05/0.2511, allocations: 11.88 kB / 1.02 GB, free: 8.605 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004894/0.2516, allocations: 107.8 kB / 1.02 GB, free: 8.5 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.2517, allocations: 95.69 kB / 1.02 GB, free: 8.406 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.348e-05/0.2518, allocations: 15.98 kB / 1.02 GB, free: 8.391 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.368e-05/0.2519, allocations: 35.86 kB / 1.02 GB, free: 8.355 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.793e-05/0.252, allocations: 43.81 kB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.252, allocations: 8 kB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.2522, allocations: 99.84 kB / 1.02 GB, free: 8.207 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.52e-05/0.2522, allocations: 19.92 kB / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.728e-05/0.2523, allocations: 35.8 kB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.2525, allocations: 112 kB / 1.02 GB, free: 8.043 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2525, allocations: 0 / 1.02 GB, free: 8.043 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2525, allocations: 0 / 1.02 GB, free: 8.043 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.2525, allocations: 4 kB / 1.02 GB, free: 8.039 MB / 0.795 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.0006988/0.2532, allocations: 470.5 kB / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.2532, allocations: 8.031 kB / 1.021 GB, free: 7.512 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.499e-05/0.2533, allocations: 12.84 kB / 1.021 GB, free: 7.5 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.2534, allocations: 176.2 kB / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.172e-05/0.2535, allocations: 34.27 kB / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.2535, allocations: 12.36 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.2537, allocations: 81.72 kB / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.2538, allocations: 0 / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.2538, allocations: 3.984 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-06/0.2538, allocations: 3.938 kB / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.254, allocations: 47.97 kB / 1.021 GB, free: 7.098 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005002/0.2545, allocations: 332.6 kB / 1.021 GB, free: 6.723 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.2547, allocations: 70.53 kB / 1.022 GB, free: 6.645 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.2548, allocations: 40.83 kB / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.2548, allocations: 0 / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002452/0.2551, allocations: 103.3 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of pre-optimization done (n=10): time 1.743e-06/0.2551, allocations: 0 / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.0004664/0.2556, allocations: 169.5 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.2556, allocations: 51.41 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.2557, allocations: 136.5 kB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.2558, allocations: 33.7 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.923e-05/0.2558, allocations: 88.36 kB / 1.022 GB, free: 5.977 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.2558, allocations: 23.66 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.128e-05/0.2559, allocations: 33.7 kB / 1.022 GB, free: 5.914 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.401e-05/0.256, allocations: 326.8 kB / 1.022 GB, free: 5.586 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.2561, allocations: 31.97 kB / 1.022 GB, free: 5.555 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.2562, allocations: 73.12 kB / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/0.2565, allocations: 105.1 kB / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2565, allocations: 3.938 kB / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002865/0.2568, allocations: 129.4 kB / 1.023 GB, free: 5.207 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.2568, allocations: 10.5 kB / 1.023 GB, free: 5.199 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2568, allocations: 0 / 1.023 GB, free: 5.199 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.2568, allocations: 4 kB / 1.023 GB, free: 5.195 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.2569, allocations: 20.09 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2569, allocations: 4 kB / 1.023 GB, free: 5.172 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.2571, allocations: 19.89 kB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.2571, allocations: 7.984 kB / 1.023 GB, free: 5.145 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.23e-05/0.2572, allocations: 127.6 kB / 1.023 GB, free: 5.012 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.2572, allocations: 7.906 kB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.225e-05/0.2572, allocations: 13.09 kB / 1.023 GB, free: 4.988 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2573, allocations: 4 kB / 1.023 GB, free: 4.984 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.2573, allocations: 3.984 kB / 1.023 GB, free: 4.98 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2573, allocations: 4 kB / 1.023 GB, free: 4.977 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005801/0.2579, allocations: 426.4 kB / 1.023 GB, free: 4.504 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.2579, allocations: 0 / 1.023 GB, free: 4.504 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.867e-05/0.258, allocations: 19.92 kB / 1.023 GB, free: 4.484 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.258, allocations: 4 kB / 1.023 GB, free: 4.48 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.258, allocations: 3.984 kB / 1.023 GB, free: 4.477 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.258, allocations: 7.875 kB / 1.023 GB, free: 4.469 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.258, allocations: 4 kB / 1.023 GB, free: 4.465 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003207/0.2583, allocations: 223.3 kB / 1.024 GB, free: 4.23 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/0.2584, allocations: 81.02 kB / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.535e-05/0.2584, allocations: 16.08 kB / 1.024 GB, free: 4.117 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.2586, allocations: 11.92 kB / 1.024 GB, free: 4.105 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.2586, allocations: 11.97 kB / 1.024 GB, free: 4.094 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.2586, allocations: 8 kB / 1.024 GB, free: 4.086 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.443e-05/0.2587, allocations: 95.27 kB / 1.024 GB, free: 3.992 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2587, allocations: 0 / 1.024 GB, free: 3.992 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000306/0.259, allocations: 43.98 kB / 1.024 GB, free: 3.949 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.0003056/0.2593, allocations: 160.3 kB / 1.024 GB, free: 3.801 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002964/0.2596, allocations: 95.83 kB / 1.024 GB, free: 3.707 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2596, allocations: 0 / 1.024 GB, free: 3.707 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.2598, allocations: 44.22 kB / 1.024 GB, free: 3.664 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.2601, allocations: 23.92 kB / 1.024 GB, free: 3.641 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004521/0.2605, allocations: 249.4 kB / 1.024 GB, free: 3.363 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.2607, allocations: 0.6963 MB / 1.025 GB, free: 2.641 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/0.2608, allocations: 19.42 kB / 1.025 GB, free: 2.625 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.2608, allocations: 0 / 1.025 GB, free: 2.625 MB / 0.795 GB Notification: Performance of Templates: time 0.003463/0.2643, allocations: 1.872 MB / 1.027 GB, free: 0.7578 MB / 0.795 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/jenkins1/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