Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001437/0.001442, allocations: 100.2 kB / 16.35 MB, free: 5.828 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.001592/0.001592, allocations: 194.5 kB / 17.29 MB, free: 5.484 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.548/2.548, allocations: 437.1 MB / 0.7112 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.89 kB / 0.8707 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6093/0.6106, allocations: 151.6 MB / 1.019 GB, free: 2.391 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002505/0.6131, allocations: 1.498 MB / 1.02 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.6143, allocations: 0.7711 MB / 1.021 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.777e-05/0.6144, allocations: 0 / 1.021 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.147e-05/0.6144, allocations: 7.922 kB / 1.021 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.62e-05/0.6145, allocations: 11.88 kB / 1.021 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004853/0.615, allocations: 127.6 kB / 1.021 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.6151, allocations: 83.67 kB / 1.021 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.621e-05/0.6152, allocations: 16 kB / 1.021 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.371e-05/0.6153, allocations: 39.84 kB / 1.021 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.171e-05/0.6154, allocations: 39.83 kB / 1.021 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.6154, allocations: 8 kB / 1.021 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000178/0.6156, allocations: 95.84 kB / 1.021 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.798e-05/0.6156, allocations: 19.97 kB / 1.021 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.824e-05/0.6157, allocations: 35.8 kB / 1.021 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.6159, allocations: 149.4 kB / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.6159, allocations: 0 / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6159, allocations: 4 kB / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.616, allocations: 4 kB / 1.022 GB, free: 15.47 MB / 0.7794 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.0006748/0.6166, allocations: 466.3 kB / 1.022 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.6167, allocations: 12.03 kB / 1.022 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.735e-05/0.6167, allocations: 8.844 kB / 1.022 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.6169, allocations: 172.2 kB / 1.022 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.6169, allocations: 4.375 kB / 1.022 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.6169, allocations: 8.375 kB / 1.022 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.6171, allocations: 85.89 kB / 1.022 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.6171, allocations: 0 / 1.022 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.6171, allocations: 4 kB / 1.022 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.6171, allocations: 0 / 1.022 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.6173, allocations: 39.97 kB / 1.022 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005009/0.6178, allocations: 324.7 kB / 1.023 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.6179, allocations: 58.59 kB / 1.023 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.962e-05/0.618, allocations: 40.83 kB / 1.023 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.618, allocations: 8.078 kB / 1.023 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001894/0.6182, allocations: 87.36 kB / 1.023 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 4.037e-06/0.6182, allocations: 4 kB / 1.023 GB, free: 14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0003725/0.6186, allocations: 157.5 kB / 1.023 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.6187, allocations: 55.39 kB / 1.023 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.424e-05/0.6188, allocations: 125.8 kB / 1.023 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.6188, allocations: 29.64 kB / 1.023 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.762e-05/0.6189, allocations: 96.36 kB / 1.023 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.6189, allocations: 23.66 kB / 1.023 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.942e-05/0.6189, allocations: 29.7 kB / 1.023 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.6191, allocations: 330.8 kB / 1.024 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.319e-05/0.6192, allocations: 27.98 kB / 1.024 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.682e-05/0.6193, allocations: 64.5 kB / 1.024 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.6194, allocations: 105 kB / 1.024 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.6194, allocations: 0 / 1.024 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000247/0.6197, allocations: 129.4 kB / 1.024 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.6197, allocations: 8 kB / 1.024 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.6197, allocations: 8.062 kB / 1.024 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.6197, allocations: 0 / 1.024 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.6199, allocations: 19.92 kB / 1.024 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.6199, allocations: 4 kB / 1.024 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.907e-05/0.62, allocations: 11.89 kB / 1.024 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.62, allocations: 4 kB / 1.024 GB, free: 12.7 MB / 0.7794 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.887e-05/0.6201, allocations: 135.1 kB / 1.024 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/0.6201, allocations: 7.906 kB / 1.024 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003016/0.6204, allocations: 149.9 kB / 1.024 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.6205, allocations: 0 / 1.024 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.6205, allocations: 0 / 1.024 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.6205, allocations: 4.375 kB / 1.024 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000607/0.6211, allocations: 430.2 kB / 1.025 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.6211, allocations: 0 / 1.025 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.603e-05/0.6212, allocations: 11.98 kB / 1.025 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.6212, allocations: 7.938 kB / 1.025 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.6212, allocations: 0 / 1.025 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.6212, allocations: 0 / 1.025 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.6212, allocations: 7.922 kB / 1.025 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.6215, allocations: 231.5 kB / 1.025 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.6216, allocations: 81.02 kB / 1.025 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.6216, allocations: 15.98 kB / 1.025 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.6217, allocations: 8 kB / 1.025 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.6218, allocations: 15.92 kB / 1.025 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.6218, allocations: 7.984 kB / 1.025 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.244e-05/0.6219, allocations: 95.27 kB / 1.025 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6219, allocations: 0 / 1.025 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002997/0.6222, allocations: 44 kB / 1.025 GB, free: 11.37 MB / 0.7794 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.0002933/0.6225, allocations: 159.7 kB / 1.025 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002332/0.6227, allocations: 83.83 kB / 1.025 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6227, allocations: 7.938 kB / 1.025 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.6228, allocations: 47.97 kB / 1.026 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.6231, allocations: 12.19 kB / 1.026 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004269/0.6236, allocations: 212.1 kB / 1.026 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.6238, allocations: 0.6924 MB / 1.026 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.237e-05/0.6239, allocations: 4.438 kB / 1.026 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.6239, allocations: 19.42 kB / 1.026 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.6239, allocations: 4 kB / 1.026 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of Templates: time 0.004531/0.6284, allocations: 1.797 MB / 1.028 GB, free: 8.305 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches