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.001114/0.001114, 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.001165/0.001165, allocations: 196.3 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.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.455/2.455, allocations: 437.1 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.91 kB / 0.8693 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5915/0.5927, allocations: 151.6 MB / 1.017 GB, free: 2.445 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002697/0.5955, allocations: 1.499 MB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.5966, allocations: 0.7672 MB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.97e-05/0.5967, allocations: 0 / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.479e-05/0.5967, allocations: 3.938 kB / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.304e-05/0.5968, allocations: 15.86 kB / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004389/0.5972, allocations: 131.5 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.5974, allocations: 83.77 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.306e-05/0.5974, allocations: 8 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.494e-05/0.5975, allocations: 47.83 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.94e-05/0.5976, allocations: 35.84 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.5976, allocations: 8 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.5978, allocations: 99.84 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.514e-05/0.5979, allocations: 15.98 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.155e-05/0.5979, allocations: 35.78 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.5981, allocations: 145.9 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.5981, allocations: 3.984 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5982, allocations: 0 / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.5982, allocations: 0 / 1.02 GB, free: 15.54 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.0006679/0.5988, allocations: 462.5 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.5989, allocations: 12.03 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.55e-05/0.5989, allocations: 46.67 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.599, allocations: 8.844 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.5991, allocations: 172.2 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.5991, allocations: 8.375 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.5991, allocations: 8.359 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.5993, allocations: 73.78 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.5993, allocations: 3.938 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.5993, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.5993, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.5995, allocations: 47.97 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004652/0.5999, allocations: 316.7 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.6001, allocations: 62.58 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.027e-05/0.6002, allocations: 48.83 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.6002, allocations: 4 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001978/0.6004, allocations: 91.3 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.753e-06/0.6004, allocations: 0 / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0003642/0.6008, allocations: 153.5 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.6009, allocations: 59.39 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.523e-05/0.601, allocations: 125.8 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.601, allocations: 25.7 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.767e-05/0.601, allocations: 96.36 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.6011, allocations: 23.66 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.845e-05/0.6011, allocations: 33.7 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.6012, allocations: 326.7 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.449e-05/0.6013, allocations: 27.98 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.056e-05/0.6014, allocations: 69.12 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.6016, allocations: 101.1 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6016, allocations: 0 / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002347/0.6018, allocations: 125.4 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.6019, allocations: 8 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.6019, allocations: 0 / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.6019, allocations: 4 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.602, allocations: 16.02 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.602, allocations: 7.984 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.6021, allocations: 19.97 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.6021, allocations: 7.984 kB / 1.023 GB, free: 12.71 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.408e-05/0.6022, allocations: 127.1 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.051e-05/0.6022, allocations: 7.906 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000305/0.6026, allocations: 149.9 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.6026, allocations: 4 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.6026, allocations: 4 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.6026, allocations: 0 / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005294/0.6031, allocations: 434.4 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.6031, allocations: 3.984 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.572e-05/0.6032, allocations: 8 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.6032, allocations: 384 / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.6032, allocations: 4 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.6032, allocations: 7.922 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6033, allocations: 4 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.6035, allocations: 227.2 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.86e-05/0.6036, allocations: 85.02 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.6036, allocations: 7.984 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.6038, allocations: 7.938 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.6038, allocations: 15.98 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.6038, allocations: 11.98 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.514e-05/0.6039, allocations: 96.52 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6039, allocations: 0 / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002971/0.6042, allocations: 40 kB / 1.024 GB, free: 11.39 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.0007478/0.605, allocations: 0.8299 MB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002209/0.6052, allocations: 87.89 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.6052, allocations: 0 / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.6053, allocations: 51.91 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.6056, allocations: 16.19 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.6071, allocations: 1.591 MB / 1.026 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.6074, allocations: 0.6963 MB / 1.027 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.566e-05/0.6074, allocations: 12.42 kB / 1.027 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.35e-05/0.6075, allocations: 27.42 kB / 1.027 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6075, allocations: 0 / 1.027 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/0.6254, allocations: 3.037 MB / 1.03 GB, free: 5 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.921/7.547, allocations: 10.81 kB / 1.03 GB, free: 4.992 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