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.001358/0.001358, allocations: 104.2 kB / 16.4 MB, free: 6.465 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.001528/0.001529, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.288/2.288, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 63.89 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9027/0.9041, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002587/0.9067, allocations: 1.509 MB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.9081, allocations: 0.7559 MB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.719e-05/0.9081, allocations: 3.938 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.555e-05/0.9082, allocations: 6.594 kB / 1.091 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.756e-05/0.9083, allocations: 11.5 kB / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005768/0.9089, allocations: 134.5 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.909, allocations: 84.95 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.985e-05/0.9091, allocations: 12.19 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.9093, allocations: 36.67 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.895e-05/0.9093, allocations: 41.52 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.9094, allocations: 6.5 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002245/0.9096, allocations: 98.75 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.317e-05/0.9096, allocations: 19.52 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.517e-05/0.9097, allocations: 33.86 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002902/0.91, allocations: 158.4 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.91, allocations: 0 / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.623e-06/0.91, allocations: 0.9688 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.91, allocations: 0 / 1.091 GB, free: 3.672 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.0007251/0.9108, allocations: 457.9 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.9108, allocations: 10.2 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.741e-05/0.9109, allocations: 12.88 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.911, allocations: 177.8 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.911, allocations: 3.469 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.911, allocations: 13.19 kB / 1.092 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.9112, allocations: 71.58 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.9112, allocations: 4.844 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.9113, allocations: 5.516 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.902e-06/0.9113, allocations: 0.8438 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.9114, allocations: 41.8 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005039/0.9119, allocations: 319.3 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.9121, allocations: 66.92 kB / 1.093 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.646e-05/0.9122, allocations: 32.61 kB / 1.093 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.9122, allocations: 5.984 kB / 1.093 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000246/0.9125, allocations: 101.2 kB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.432e-06/0.9125, allocations: 0 / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0004424/0.9129, allocations: 156.4 kB / 1.093 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.913, allocations: 53.98 kB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.9131, allocations: 127.6 kB / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.9131, allocations: 31.45 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/0.9132, allocations: 100.7 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.9132, allocations: 21.41 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.625e-05/0.9132, allocations: 31.95 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.431e-05/0.9133, allocations: 327.7 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.024e-05/0.9134, allocations: 23.22 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.625e-05/0.9135, allocations: 70.98 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.9137, allocations: 96.19 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.9137, allocations: 0.8438 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000244/0.9139, allocations: 134.8 kB / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.9139, allocations: 6.031 kB / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.914, allocations: 4.656 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.914, allocations: 2.938 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.9141, allocations: 18.55 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.9141, allocations: 2.844 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.9142, allocations: 13.5 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.9142, allocations: 5.594 kB / 1.094 GB, free: 1.551 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 7.963e-05/0.9143, allocations: 128.6 kB / 1.094 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.9143, allocations: 8.359 kB / 1.094 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003419/0.9147, allocations: 153.2 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.9147, allocations: 1.438 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.9147, allocations: 5.547 kB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.9147, allocations: 0.6562 kB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005117/0.9152, allocations: 428.3 kB / 1.095 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.9153, allocations: 0 / 1.095 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.671e-05/0.9153, allocations: 10.41 kB / 1.095 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.9153, allocations: 1.125 kB / 1.095 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.9154, allocations: 6.594 kB / 1.095 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.9154, allocations: 0.75 kB / 1.095 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.9154, allocations: 9.516 kB / 1.095 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/0.9156, allocations: 230.4 kB / 1.095 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.623e-05/0.9157, allocations: 84.02 kB / 1.095 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.9157, allocations: 2.656 kB / 1.095 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.9158, allocations: 11.2 kB / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/0.9159, allocations: 13.7 kB / 1.095 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.9159, allocations: 8.703 kB / 1.095 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.668e-05/0.916, allocations: 98.56 kB / 1.095 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.916, allocations: 0 / 1.095 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003467/0.9163, allocations: 41.62 kB / 1.095 GB, free: 0.6055 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.0003432/0.9167, allocations: 177.4 kB / 1.095 GB, free: 496 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002557/0.9169, allocations: 85.19 kB / 1.095 GB, free: 472 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.9169, allocations: 256 / 1.095 GB, free: 472 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.9171, allocations: 51.25 kB / 1.095 GB, free: 456 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.9174, allocations: 14.11 kB / 1.095 GB, free: 452 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004655/0.9178, allocations: 229.2 kB / 1.096 GB, free: 264 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.9181, allocations: 0.6937 MB / 1.096 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.463e-05/0.9182, allocations: 22.86 kB / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.9182, allocations: 0 / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of Templates: time 0.004748/0.9229, allocations: 1.837 MB / 1.098 GB, free: 15.36 MB / 0.8731 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/jenkins1/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