Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001802/0.001802, allocations: 114.9 kB / 16.37 MB, free: 6.012 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.001906/0.001906, allocations: 192.6 kB / 17.31 MB, free: 5.613 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.451/2.451, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001416, allocations: 65.2 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3253, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002699/0.3281, allocations: 1.515 MB / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.3293, allocations: 0.7671 MB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.312e-05/0.3294, allocations: 4 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.989e-05/0.3294, allocations: 3.938 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.905e-05/0.3295, allocations: 11.86 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005036/0.33, allocations: 127.5 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.3302, allocations: 87.7 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.243e-05/0.3303, allocations: 15.98 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.723e-05/0.3304, allocations: 35.91 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.203e-05/0.3305, allocations: 35.84 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.3305, allocations: 4 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.3307, allocations: 103.8 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.834e-05/0.3307, allocations: 23.91 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.097e-05/0.3308, allocations: 35.8 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.331, allocations: 151.5 kB / 1.03 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.331, allocations: 7.938 kB / 1.03 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.773e-06/0.331, allocations: 0 / 1.03 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.331, allocations: 0 / 1.03 GB, free: 15.11 MB / 0.8106 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.0006767/0.3317, allocations: 454.7 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.3318, allocations: 8.031 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.3318, allocations: 8.844 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.3319, allocations: 172.2 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.332, allocations: 8.359 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.332, allocations: 12.38 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.3322, allocations: 73.91 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.3322, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.3322, allocations: 4 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3322, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.3323, allocations: 43.97 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005094/0.3329, allocations: 336.5 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.333, allocations: 66.56 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.028e-05/0.3331, allocations: 36.84 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.3331, allocations: 4 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000202/0.3333, allocations: 87.36 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.3334, allocations: 4 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.000387/0.3337, allocations: 157.5 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.3338, allocations: 55.41 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.3339, allocations: 133.8 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.3339, allocations: 33.64 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.922e-05/0.334, allocations: 92.28 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.334, allocations: 19.95 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.974e-05/0.3341, allocations: 45.62 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.3342, allocations: 318.8 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.738e-05/0.3343, allocations: 23.98 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.263e-05/0.3344, allocations: 69.12 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.3346, allocations: 101.1 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3346, allocations: 0 / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000229/0.3348, allocations: 129.3 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.3348, allocations: 8.125 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3348, allocations: 7.984 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.3349, allocations: 4 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.335, allocations: 23.92 kB / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.335, allocations: 0 / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.989e-05/0.3351, allocations: 11.94 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.3351, allocations: 7.984 kB / 1.032 GB, free: 12.33 MB / 0.8106 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 8.792e-05/0.3352, allocations: 133.7 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.3352, allocations: 11.91 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003108/0.3356, allocations: 149.9 kB / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3356, allocations: 4 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3356, allocations: 0 / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3356, allocations: 0 / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005218/0.3361, allocations: 422.3 kB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3361, allocations: 0 / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.845e-05/0.3362, allocations: 15.94 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.3362, allocations: 0 / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.3362, allocations: 11.98 kB / 1.033 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3362, allocations: 0 / 1.033 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3363, allocations: 3.938 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.3365, allocations: 219.4 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.3366, allocations: 92.94 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.3366, allocations: 4 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.3367, allocations: 15.98 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.3368, allocations: 15.92 kB / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.3368, allocations: 8 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.155e-05/0.3369, allocations: 91.27 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3369, allocations: 0 / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000313/0.3372, allocations: 40 kB / 1.033 GB, free: 11.01 MB / 0.8106 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.0003253/0.3375, allocations: 173.2 kB / 1.033 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002314/0.3378, allocations: 87.83 kB / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3378, allocations: 0 / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.3379, allocations: 47.97 kB / 1.033 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.3382, allocations: 20.23 kB / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004376/0.3387, allocations: 203.6 kB / 1.034 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.3389, allocations: 0.6924 MB / 1.034 GB, free: 9.754 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.577e-05/0.339, allocations: 12.42 kB / 1.034 GB, free: 9.738 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.339, allocations: 19.44 kB / 1.034 GB, free: 9.723 MB / 0.8106 GB Notification: Performance of SimCode: time 1.432e-06/0.339, allocations: 0 / 1.034 GB, free: 9.723 MB / 0.8106 GB Notification: Performance of Templates: time 0.004541/0.3436, allocations: 1.788 MB / 1.036 GB, free: 7.941 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches