Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001283/0.001283, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001249/0.001249, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.391/1.391, 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 11.1.0-maint.11.x/package.mo): time 2.729/2.729, allocations: 469.8 MB / 0.743 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 63.58 kB / 0.9092 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3468, allocations: 159.1 MB / 1.065 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.003072/0.3499, allocations: 1.508 MB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001539/0.3514, allocations: 0.7517 MB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.581e-05/0.3515, allocations: 0 / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.917e-05/0.3516, allocations: 7.875 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.803e-05/0.3517, allocations: 23.84 kB / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005367/0.3522, allocations: 127.6 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.3523, allocations: 79.72 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.3525, allocations: 15.98 kB / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.3526, allocations: 47.78 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.357e-05/0.3527, allocations: 39.83 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.3527, allocations: 8 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002236/0.3529, allocations: 95.84 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.404e-05/0.353, allocations: 19.92 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.353e-05/0.353, allocations: 35.84 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003027/0.3533, allocations: 143.9 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.3533, allocations: 0 / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.62e-07/0.3533, allocations: 7.938 kB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.3534, allocations: 0 / 1.067 GB, free: 11.9 MB / 0.8419 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.0008163/0.3542, allocations: 454.7 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.3542, allocations: 12.62 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.3543, allocations: 12.84 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.3545, allocations: 180.2 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.3545, allocations: 4.375 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.3545, allocations: 8.375 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.3547, allocations: 69.97 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.3547, allocations: 0 / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.3547, allocations: 7.969 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3547, allocations: 4 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.3549, allocations: 43.97 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005817/0.3555, allocations: 324.5 kB / 1.069 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.3556, allocations: 62.55 kB / 1.069 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.483e-05/0.3557, allocations: 36.84 kB / 1.069 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.3558, allocations: 0 / 1.069 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002673/0.356, allocations: 99.39 kB / 1.069 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.3561, allocations: 0 / 1.069 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10): time 0.0004207/0.3565, allocations: 161.4 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.3565, allocations: 55.41 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.3567, allocations: 128.3 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.3567, allocations: 29.7 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.947e-05/0.3568, allocations: 92.28 kB / 1.069 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.3568, allocations: 23.7 kB / 1.069 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.702e-05/0.3569, allocations: 33.7 kB / 1.069 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001892/0.3571, allocations: 322.8 kB / 1.07 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.104e-05/0.3572, allocations: 27.97 kB / 1.07 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.3573, allocations: 69.14 kB / 1.07 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.3575, allocations: 108.9 kB / 1.07 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3575, allocations: 0 / 1.07 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002515/0.3578, allocations: 125.4 kB / 1.07 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3578, allocations: 10.34 kB / 1.07 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3578, allocations: 0 / 1.07 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3578, allocations: 4 kB / 1.07 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.3579, allocations: 11.98 kB / 1.07 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.358, allocations: 8.062 kB / 1.07 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.3581, allocations: 19.92 kB / 1.07 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.3581, allocations: 8 kB / 1.07 GB, free: 9.125 MB / 0.8419 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.0001425/0.3583, allocations: 124.5 kB / 1.07 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.3583, allocations: 11.91 kB / 1.07 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003813/0.3587, allocations: 145.9 kB / 1.07 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3587, allocations: 0 / 1.07 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3587, allocations: 8 kB / 1.07 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3587, allocations: 0 / 1.07 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00063/0.3593, allocations: 430.4 kB / 1.071 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3593, allocations: 96 / 1.071 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.957e-05/0.3594, allocations: 11.94 kB / 1.071 GB, free: 8.34 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.3594, allocations: 3.984 kB / 1.071 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.3595, allocations: 7.984 kB / 1.071 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3595, allocations: 8 kB / 1.071 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3595, allocations: 3.938 kB / 1.071 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003158/0.3598, allocations: 219.4 kB / 1.071 GB, free: 8.086 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.777e-05/0.3599, allocations: 92.94 kB / 1.071 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.3599, allocations: 0 / 1.071 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.36, allocations: 11.98 kB / 1.071 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.3601, allocations: 12.3 kB / 1.071 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.3601, allocations: 8 kB / 1.071 GB, free: 7.945 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.492e-05/0.3602, allocations: 103.2 kB / 1.071 GB, free: 7.844 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3602, allocations: 0 / 1.071 GB, free: 7.844 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003329/0.3605, allocations: 47.92 kB / 1.071 GB, free: 7.797 MB / 0.8419 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.0003754/0.3609, allocations: 158.5 kB / 1.071 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002596/0.3612, allocations: 95.83 kB / 1.071 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3612, allocations: 0 / 1.071 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.3613, allocations: 47.92 kB / 1.071 GB, free: 7.512 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.3616, allocations: 15.98 kB / 1.071 GB, free: 7.496 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005994/0.3622, allocations: 229.6 kB / 1.072 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004601/0.3627, allocations: 0.7005 MB / 1.072 GB, free: 6.512 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.171e-05/0.3627, allocations: 19.42 kB / 1.072 GB, free: 6.492 MB / 0.8419 GB Notification: Performance of SimCode: time 1.91e-07/0.3628, allocations: 0 / 1.072 GB, free: 6.492 MB / 0.8419 GB Notification: Performance of Templates: time 0.004139/0.3669, allocations: 1.829 MB / 1.074 GB, free: 4.66 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches