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.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.Love1998Light2,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",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.001243/0.001243, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001225/0.001225, allocations: 192.2 kB / 16.26 MB, free: 6.625 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.359/1.359, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.381/2.381, allocations: 437 MB / 0.7101 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.00121, allocations: 63.91 kB / 0.8689 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5656/0.5669, allocations: 151.6 MB / 1.017 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002285/0.5692, allocations: 1.581 MB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.5703, allocations: 0.7518 MB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.545e-05/0.5703, allocations: 0 / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.97e-05/0.5704, allocations: 3.938 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.543e-05/0.5704, allocations: 11.92 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000418/0.5709, allocations: 111.8 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.583e-05/0.571, allocations: 83.77 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.394e-05/0.571, allocations: 4 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.853e-05/0.5711, allocations: 47.77 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.612e-05/0.5712, allocations: 39.84 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.5712, allocations: 8 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.5714, allocations: 103.8 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.458e-05/0.5714, allocations: 19.89 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.374e-05/0.5715, allocations: 39.8 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.5717, allocations: 141.9 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.5717, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5717, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.5717, allocations: 0 / 1.02 GB, free: 15.75 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.0006372/0.5724, allocations: 470.5 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.5724, allocations: 8.031 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.87e-05/0.5724, allocations: 38.75 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.5725, allocations: 8.844 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.5726, allocations: 180.2 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.5726, allocations: 8.312 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.5726, allocations: 8.375 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.5728, allocations: 69.78 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.5728, allocations: 0 / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.5728, allocations: 7.984 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.5728, allocations: 4 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.573, allocations: 39.97 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004652/0.5734, allocations: 320.6 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.5736, allocations: 58.55 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.267e-05/0.5737, allocations: 40.84 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.5737, allocations: 4 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001839/0.5739, allocations: 91.39 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.5739, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0003448/0.5742, allocations: 157.8 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.5743, allocations: 59.5 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.781e-05/0.5744, allocations: 133.8 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.5744, allocations: 25.7 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.798e-05/0.5745, allocations: 92.38 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.5745, allocations: 31.78 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.753e-05/0.5745, allocations: 33.7 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.454e-05/0.5746, allocations: 318.8 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.665e-05/0.5747, allocations: 27.97 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.534e-05/0.5748, allocations: 70.89 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.575, allocations: 109 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.575, allocations: 0 / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002193/0.5752, allocations: 125.4 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.5752, allocations: 8 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.5752, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.5753, allocations: 4 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.858e-05/0.5754, allocations: 19.92 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.5754, allocations: 8.125 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.649e-05/0.5755, allocations: 15.89 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.5755, allocations: 7.938 kB / 1.022 GB, free: 12.91 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 8.59e-05/0.5756, allocations: 122.3 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.84e-05/0.5756, allocations: 7.906 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002868/0.5759, allocations: 149.9 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.5759, allocations: 8 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.5759, allocations: 0 / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.5759, allocations: 0 / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000502/0.5764, allocations: 422.3 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.5764, allocations: 4 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.435e-05/0.5765, allocations: 11.94 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.5765, allocations: 0 / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.5765, allocations: 11.98 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.5765, allocations: 7.938 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.5766, allocations: 0 / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.5768, allocations: 219.4 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.741e-05/0.5769, allocations: 89 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.5769, allocations: 4 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.577, allocations: 11.92 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.577, allocations: 11.98 kB / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.5771, allocations: 8 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.304e-05/0.5771, allocations: 95.27 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.124e-06/0.5771, allocations: 0 / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002687/0.5774, allocations: 47.92 kB / 1.023 GB, free: 11.59 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.0006886/0.5781, allocations: 0.8262 MB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.5783, allocations: 87.83 kB / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5783, allocations: 0 / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.397e-05/0.5784, allocations: 47.97 kB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.5787, allocations: 24.16 kB / 1.024 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.5802, allocations: 1.602 MB / 1.026 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.5804, allocations: 0.704 MB / 1.027 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.193e-05/0.5805, allocations: 8.422 kB / 1.027 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.248e-05/0.5805, allocations: 27.42 kB / 1.027 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5805, allocations: 0 / 1.027 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.652/3.232, allocations: 2.911 MB / 1.03 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/3.232, allocations: 258.5 kB / 1.03 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.095/5.327, allocations: 0 / 1.03 GB, free: 5.105 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > 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