Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Love1998Light2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008125/0.008125, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.00165/0.00165, allocations: 198.5 kB / 16.68 MB, free: 5.969 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.415/2.415, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 71.36 kB / 0.9508 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.315, allocations: 140.4 MB / 1.088 GB, free: 1.613 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.003925/0.319, allocations: 1.509 MB / 1.089 GB, free: 92 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.3204, allocations: 0.7531 MB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.617e-05/0.3205, allocations: 0 / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.603e-05/0.3205, allocations: 3.938 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.3206, allocations: 23.78 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005404/0.3212, allocations: 131.5 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.3213, allocations: 87.7 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.671e-05/0.3214, allocations: 11.98 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.853e-05/0.3215, allocations: 43.83 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.116e-05/0.3216, allocations: 35.84 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.3216, allocations: 8 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.3218, allocations: 91.91 kB / 1.091 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.174e-05/0.3218, allocations: 27.91 kB / 1.091 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.339e-05/0.3219, allocations: 35.86 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003248/0.3222, allocations: 151.4 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3222, allocations: 0 / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3222, allocations: 0 / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.3223, allocations: 0 / 1.091 GB, free: 14.69 MB / 0.8575 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.0009241/0.3232, allocations: 466.3 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.3232, allocations: 8.031 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.393e-05/0.3233, allocations: 16.88 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.3235, allocations: 172.3 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.3235, allocations: 4.375 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.3235, allocations: 4.375 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.3238, allocations: 81.89 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3238, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.3238, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.3238, allocations: 4 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.324, allocations: 39.97 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005973/0.3246, allocations: 324.6 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.3248, allocations: 66.53 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.66e-05/0.3249, allocations: 36.84 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.3249, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002407/0.3251, allocations: 99.34 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.3251, allocations: 0 / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0004366/0.3256, allocations: 161.5 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.3256, allocations: 55.41 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.3258, allocations: 130.6 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.3258, allocations: 29.7 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.255e-05/0.3259, allocations: 100.4 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.3259, allocations: 20 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.233e-05/0.326, allocations: 33.7 kB / 1.093 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002473/0.3263, allocations: 326.8 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.42e-05/0.3264, allocations: 27.92 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.3265, allocations: 70.75 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.3267, allocations: 93.08 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3267, allocations: 0 / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003372/0.327, allocations: 141.4 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.327, allocations: 7.938 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.3271, allocations: 4 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.3271, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.3272, allocations: 15.98 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3272, allocations: 0 / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.3273, allocations: 15.92 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.3273, allocations: 4.094 kB / 1.093 GB, free: 11.91 MB / 0.8575 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.0001083/0.3275, allocations: 137.8 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.3275, allocations: 11.94 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003213/0.3278, allocations: 142 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3278, allocations: 0 / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.3278, allocations: 0 / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3278, allocations: 7.938 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005769/0.3284, allocations: 430.3 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3284, allocations: 0 / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.716e-05/0.3285, allocations: 11.98 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.3285, allocations: 4 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.3285, allocations: 0 / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3286, allocations: 3.938 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.3286, allocations: 3.938 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002968/0.3289, allocations: 227.8 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.942e-05/0.3289, allocations: 85.06 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.3289, allocations: 4 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.3291, allocations: 11.98 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.3291, allocations: 19.86 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.3292, allocations: 4 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.954e-05/0.3292, allocations: 97.89 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3292, allocations: 0 / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000306/0.3295, allocations: 43.92 kB / 1.094 GB, free: 10.59 MB / 0.8575 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.000334/0.3299, allocations: 159.8 kB / 1.095 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002367/0.3302, allocations: 83.83 kB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3302, allocations: 0 / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.3303, allocations: 52.17 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.3306, allocations: 21.95 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005973/0.3312, allocations: 207.6 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005512/0.3318, allocations: 0.6968 MB / 1.096 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.122e-05/0.3318, allocations: 16.61 kB / 1.096 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.3319, allocations: 11.44 kB / 1.096 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.3319, allocations: 0 / 1.096 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of Templates: time 0.00485/0.3367, allocations: 1.805 MB / 1.097 GB, free: 7.504 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches