Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.Love1998Light2,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.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_11_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.006824/0.006824, allocations: 99.58 kB / 15.73 MB, free: 6.043 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: 200.8 kB / 16.68 MB, free: 5.965 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.764/2.764, allocations: 469.8 MB / 0.7425 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 67.89 kB / 1.065 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3171, allocations: 159.1 MB / 1.221 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002613/0.3197, allocations: 1.514 MB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.3211, allocations: 0.7634 MB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.279e-05/0.3211, allocations: 4 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.235e-05/0.3212, allocations: 3.938 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.717e-05/0.3213, allocations: 19.78 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005691/0.3218, allocations: 123.6 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.322, allocations: 83.77 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.891e-05/0.3221, allocations: 11.98 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.3222, allocations: 43.78 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.662e-05/0.3223, allocations: 39.83 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.3223, allocations: 8 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.3225, allocations: 95.91 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.636e-05/0.3225, allocations: 11.98 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.873e-05/0.3226, allocations: 39.78 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002945/0.3229, allocations: 143.5 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3229, allocations: 4 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3229, allocations: 0 / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.3229, allocations: 3.938 kB / 1.223 GB, free: 10.93 MB / 0.9825 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.0007857/0.3237, allocations: 468.2 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.3237, allocations: 12.03 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.08e-05/0.3237, allocations: 8.891 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.3239, allocations: 180.3 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.3239, allocations: 384 / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.3239, allocations: 4.375 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.3241, allocations: 81.84 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.3241, allocations: 4 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.3241, allocations: 11.97 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3241, allocations: 0 / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.3243, allocations: 39.97 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005561/0.3248, allocations: 324.7 kB / 1.224 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.325, allocations: 58.55 kB / 1.225 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.173e-05/0.3251, allocations: 32.84 kB / 1.225 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.3251, allocations: 0 / 1.225 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002186/0.3253, allocations: 91.39 kB / 1.225 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.3253, allocations: 0 / 1.225 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004106/0.3257, allocations: 161.5 kB / 1.225 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.3258, allocations: 59.41 kB / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.3259, allocations: 133.7 kB / 1.225 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.326, allocations: 29.7 kB / 1.225 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.954e-05/0.326, allocations: 88.38 kB / 1.225 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.3261, allocations: 19.84 kB / 1.225 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.225e-05/0.3261, allocations: 37.7 kB / 1.225 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.3262, allocations: 322.8 kB / 1.225 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.852e-05/0.3263, allocations: 31.97 kB / 1.226 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.3264, allocations: 69.14 kB / 1.226 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.3266, allocations: 105 kB / 1.226 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3266, allocations: 3.938 kB / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002547/0.3269, allocations: 129.8 kB / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.3269, allocations: 4 kB / 1.226 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3269, allocations: 4 kB / 1.226 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.3269, allocations: 0 / 1.226 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.327, allocations: 28.05 kB / 1.226 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.327, allocations: 0 / 1.226 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.3271, allocations: 23.88 kB / 1.226 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.3271, allocations: 4 kB / 1.226 GB, free: 8.137 MB / 0.9825 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.934e-05/0.3272, allocations: 126.2 kB / 1.226 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.3273, allocations: 7.953 kB / 1.226 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003239/0.3276, allocations: 142 kB / 1.226 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.3276, allocations: 4 kB / 1.226 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3276, allocations: 0 / 1.226 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3276, allocations: 0 / 1.226 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006147/0.3282, allocations: 438.5 kB / 1.227 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3282, allocations: 0 / 1.227 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.74e-05/0.3283, allocations: 15.92 kB / 1.227 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.3283, allocations: 4 kB / 1.227 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.3283, allocations: 3.984 kB / 1.227 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.3283, allocations: 4 kB / 1.227 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.3283, allocations: 3.938 kB / 1.227 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.3286, allocations: 227.4 kB / 1.227 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.977e-05/0.3287, allocations: 89 kB / 1.227 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.3287, allocations: 0 / 1.227 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.3288, allocations: 15.98 kB / 1.227 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.589e-05/0.3289, allocations: 11.92 kB / 1.227 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.3289, allocations: 8 kB / 1.227 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.589e-05/0.329, allocations: 99.27 kB / 1.227 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.329, allocations: 0 / 1.227 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003442/0.3293, allocations: 43.92 kB / 1.227 GB, free: 6.805 MB / 0.9825 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.0003686/0.3297, allocations: 168.5 kB / 1.227 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002572/0.3299, allocations: 83.83 kB / 1.227 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3299, allocations: 0 / 1.227 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.3301, allocations: 39.92 kB / 1.227 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.3304, allocations: 19.98 kB / 1.227 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000545/0.3309, allocations: 211.6 kB / 1.228 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.3312, allocations: 0.6963 MB / 1.228 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.165e-05/0.3313, allocations: 12.42 kB / 1.228 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.09e-05/0.3313, allocations: 15.44 kB / 1.228 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of SimCode: time 6.11e-07/0.3313, allocations: 0 / 1.228 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of Templates: time 0.005179/0.3365, allocations: 1.813 MB / 1.23 GB, free: 3.723 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches