Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001823/0.001823, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001943/0.001944, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.41/1.41, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.525/2.525, allocations: 437.1 MB / 0.7111 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 68.23 kB / 0.8699 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3229, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002934/0.3259, allocations: 1.499 MB / 1.019 GB, free: 9.102 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001472/0.3274, allocations: 0.7726 MB / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.828e-05/0.3274, allocations: 3.938 kB / 1.02 GB, free: 8.32 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.082e-05/0.3275, allocations: 3.938 kB / 1.02 GB, free: 8.316 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.005e-05/0.3276, allocations: 15.86 kB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005398/0.3281, allocations: 127.6 kB / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.3283, allocations: 79.77 kB / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.3284, allocations: 12 kB / 1.02 GB, free: 8.086 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.3285, allocations: 47.77 kB / 1.02 GB, free: 8.039 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.336e-05/0.3286, allocations: 35.84 kB / 1.021 GB, free: 8.004 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.3286, allocations: 8 kB / 1.021 GB, free: 7.996 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001961/0.3288, allocations: 95.84 kB / 1.021 GB, free: 7.902 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.504e-05/0.3289, allocations: 19.97 kB / 1.021 GB, free: 7.883 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.271e-05/0.3289, allocations: 35.8 kB / 1.021 GB, free: 7.848 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.3292, allocations: 147.9 kB / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3292, allocations: 4 kB / 1.021 GB, free: 7.699 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3292, allocations: 0 / 1.021 GB, free: 7.699 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.3292, allocations: 0 / 1.021 GB, free: 7.699 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.0008377/0.3301, allocations: 460.3 kB / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.3301, allocations: 12.62 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.589e-05/0.3302, allocations: 12.83 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.3303, allocations: 176.2 kB / 1.021 GB, free: 6.957 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.3304, allocations: 4.375 kB / 1.021 GB, free: 6.953 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.3304, allocations: 8.375 kB / 1.021 GB, free: 6.945 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.3306, allocations: 77.95 kB / 1.022 GB, free: 6.863 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3306, allocations: 0 / 1.022 GB, free: 6.863 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.3307, allocations: 4 kB / 1.022 GB, free: 6.859 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3307, allocations: 0 / 1.022 GB, free: 6.859 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.3308, allocations: 43.91 kB / 1.022 GB, free: 6.816 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006272/0.3314, allocations: 328.6 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.3316, allocations: 62.55 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.567e-05/0.3317, allocations: 36.83 kB / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.3318, allocations: 7.969 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/0.332, allocations: 95.34 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.332, allocations: 0 / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.0004315/0.3324, allocations: 157.5 kB / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.3325, allocations: 51.41 kB / 1.022 GB, free: 6 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.3326, allocations: 130.3 kB / 1.022 GB, free: 5.863 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.3327, allocations: 29.7 kB / 1.022 GB, free: 5.828 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.634e-05/0.3327, allocations: 96.27 kB / 1.023 GB, free: 5.727 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/0.3328, allocations: 19.95 kB / 1.023 GB, free: 5.707 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.737e-05/0.3328, allocations: 33.7 kB / 1.023 GB, free: 5.668 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.333, allocations: 326.8 kB / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.189e-05/0.3331, allocations: 27.98 kB / 1.023 GB, free: 5.312 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.3332, allocations: 65.81 kB / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.3334, allocations: 97.08 kB / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3334, allocations: 0 / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002609/0.3337, allocations: 133.5 kB / 1.023 GB, free: 4.98 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.3337, allocations: 8.031 kB / 1.023 GB, free: 4.973 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.3337, allocations: 4 kB / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.3337, allocations: 0 / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.3339, allocations: 19.92 kB / 1.023 GB, free: 4.949 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.3339, allocations: 7.938 kB / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.334, allocations: 15.92 kB / 1.023 GB, free: 4.926 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.334, allocations: 8 kB / 1.023 GB, free: 4.918 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 0.0001153/0.3341, allocations: 129.8 kB / 1.023 GB, free: 4.781 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.624e-05/0.3342, allocations: 11.89 kB / 1.023 GB, free: 4.77 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003373/0.3345, allocations: 145.9 kB / 1.024 GB, free: 4.617 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3345, allocations: 0 / 1.024 GB, free: 4.617 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3345, allocations: 0 / 1.024 GB, free: 4.617 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.3345, allocations: 4.375 kB / 1.024 GB, free: 4.613 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006465/0.3352, allocations: 438.3 kB / 1.024 GB, free: 4.129 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.3352, allocations: 0 / 1.024 GB, free: 4.129 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.218e-05/0.3353, allocations: 11.98 kB / 1.024 GB, free: 4.117 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3353, allocations: 3.938 kB / 1.024 GB, free: 4.113 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.3353, allocations: 0 / 1.024 GB, free: 4.113 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3353, allocations: 0 / 1.024 GB, free: 4.113 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.3353, allocations: 3.938 kB / 1.024 GB, free: 4.109 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003311/0.3357, allocations: 239.3 kB / 1.024 GB, free: 3.859 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.493e-05/0.3358, allocations: 88.95 kB / 1.024 GB, free: 3.754 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.3358, allocations: 4 kB / 1.024 GB, free: 3.75 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.3359, allocations: 7.984 kB / 1.024 GB, free: 3.742 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.521e-05/0.336, allocations: 15.92 kB / 1.024 GB, free: 3.727 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.336, allocations: 4 kB / 1.024 GB, free: 3.723 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.089e-05/0.3361, allocations: 100.8 kB / 1.024 GB, free: 3.625 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3361, allocations: 0 / 1.024 GB, free: 3.625 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003345/0.3364, allocations: 43.98 kB / 1.024 GB, free: 3.582 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 (12): * Single equations (assignments): 9 * 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.0003647/0.3368, allocations: 152 kB / 1.025 GB, free: 3.441 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002725/0.3371, allocations: 99.77 kB / 1.025 GB, free: 3.344 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3371, allocations: 0 / 1.025 GB, free: 3.344 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.3372, allocations: 52.27 kB / 1.025 GB, free: 3.293 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.3375, allocations: 19.94 kB / 1.025 GB, free: 3.273 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004915/0.338, allocations: 233.4 kB / 1.025 GB, free: 3.012 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.3384, allocations: 0.7001 MB / 1.026 GB, free: 2.285 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.346e-05/0.3384, allocations: 19.44 kB / 1.026 GB, free: 2.27 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.3384, allocations: 0 / 1.026 GB, free: 2.27 MB / 0.795 GB Notification: Performance of Templates: time 0.004145/0.3426, allocations: 1.828 MB / 1.027 GB, free: 460 kB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches