Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.472/2.472, allocations: 437.1 MB / 0.7104 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 63.91 kB / 0.8693 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5527/0.554, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.003204/0.5573, allocations: 1.493 MB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.5588, allocations: 0.7634 MB / 1.02 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.625e-05/0.5589, allocations: 0 / 1.02 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.723e-05/0.559, allocations: 7.875 kB / 1.02 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.5591, allocations: 23.84 kB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007548/0.5599, allocations: 123.6 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.5601, allocations: 75.78 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.5602, allocations: 16.05 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.5603, allocations: 47.72 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.846e-05/0.5604, allocations: 39.83 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.5604, allocations: 4 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002614/0.5607, allocations: 99.84 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.807e-05/0.5607, allocations: 19.97 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.327e-05/0.5608, allocations: 35.8 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000302/0.5611, allocations: 141.9 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5612, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5612, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.5612, allocations: 0 / 1.02 GB, free: 15.61 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.0007702/0.5619, allocations: 472 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.562, allocations: 16.03 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.115e-05/0.5621, allocations: 34.75 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.5621, allocations: 12.83 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.5623, allocations: 184.1 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.5623, allocations: 4.375 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.5623, allocations: 8.375 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.5626, allocations: 73.77 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.5626, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.5626, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.5626, allocations: 4 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.5628, allocations: 47.91 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006005/0.5634, allocations: 312.7 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.5636, allocations: 62.55 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.5637, allocations: 40.88 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.5637, allocations: 4 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002645/0.564, allocations: 95.3 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.733e-06/0.564, allocations: 0 / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0004533/0.5645, allocations: 157.5 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.5646, allocations: 55.41 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.5647, allocations: 125.8 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.5647, allocations: 33.7 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.129e-05/0.5647, allocations: 84.38 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/0.5648, allocations: 31.78 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.734e-05/0.5649, allocations: 37.7 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.565, allocations: 322.8 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.5651, allocations: 23.98 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.5652, allocations: 74.33 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.5654, allocations: 101.1 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5654, allocations: 0 / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002731/0.5657, allocations: 133.4 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.5657, allocations: 4 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.5657, allocations: 0 / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.5658, allocations: 4 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.5659, allocations: 19.92 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.5659, allocations: 0 / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.566, allocations: 27.95 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.566, allocations: 4 kB / 1.023 GB, free: 12.77 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 0.0001135/0.5662, allocations: 121.8 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.5662, allocations: 11.98 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003478/0.5666, allocations: 149.9 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.5666, allocations: 4 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.5666, allocations: 4 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.5666, allocations: 3.984 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005522/0.5671, allocations: 422.3 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.5672, allocations: 384 / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.014e-05/0.5672, allocations: 11.98 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.5673, allocations: 0 / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.5673, allocations: 8 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.5673, allocations: 7.875 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5673, allocations: 4 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.5676, allocations: 231.3 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.666e-05/0.5677, allocations: 85.02 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.5677, allocations: 0 / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.5678, allocations: 15.92 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.5679, allocations: 11.98 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.5679, allocations: 8 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.274e-05/0.568, allocations: 96.27 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.568, allocations: 4 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003262/0.5683, allocations: 39.98 kB / 1.024 GB, free: 11.45 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.0007485/0.5691, allocations: 0.8253 MB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002688/0.5694, allocations: 91.89 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5694, allocations: 0 / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.5695, allocations: 47.92 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.5699, allocations: 32.11 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.5716, allocations: 1.58 MB / 1.026 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.5719, allocations: 0.6965 MB / 1.027 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.704e-05/0.5719, allocations: 12.42 kB / 1.027 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.278e-05/0.572, allocations: 27.42 kB / 1.027 GB, free: 8 MB / 0.7794 GB Notification: Performance of SimCode: time 3.5e-07/0.572, allocations: 0 / 1.027 GB, free: 8 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.5905, allocations: 3.042 MB / 1.03 GB, free: 5.059 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.007/7.597, allocations: 5.969 kB / 1.03 GB, free: 5.055 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches