Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_latest_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.001269/0.001269, 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.001346/0.001346, allocations: 196.7 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.225/1.225, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.339/2.339, allocations: 461.9 MB / 0.7346 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 70.66 kB / 0.8992 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2401, allocations: 157.4 MB / 1.053 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.00265/0.2428, allocations: 1.503 MB / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.2441, allocations: 0.7754 MB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.271e-05/0.2441, allocations: 0 / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.943e-05/0.2442, allocations: 11.86 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.195e-05/0.2442, allocations: 11.88 kB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000484/0.2447, allocations: 123.6 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.2449, allocations: 95.62 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.861e-05/0.2449, allocations: 12 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.987e-05/0.245, allocations: 35.86 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.114e-05/0.2451, allocations: 39.81 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.2451, allocations: 8 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.2453, allocations: 99.84 kB / 1.056 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.413e-05/0.2453, allocations: 19.92 kB / 1.056 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.462e-05/0.2454, allocations: 35.86 kB / 1.056 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.2456, allocations: 143.9 kB / 1.056 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.2456, allocations: 0 / 1.056 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2456, allocations: 0 / 1.056 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.2456, allocations: 0 / 1.056 GB, free: 5.344 MB / 0.8106 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.0006112/0.2462, allocations: 458.6 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.2462, allocations: 12.62 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.031e-05/0.2463, allocations: 34.73 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.004e-05/0.2463, allocations: 12.84 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.2464, allocations: 180.2 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.2465, allocations: 8.375 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.2465, allocations: 4.375 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.2466, allocations: 77.77 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.2466, allocations: 0 / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.2467, allocations: 0 / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.2467, allocations: 4 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.2468, allocations: 47.91 kB / 1.057 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004667/0.2473, allocations: 324.6 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.2474, allocations: 58.56 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.356e-05/0.2475, allocations: 32.84 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.2476, allocations: 12.02 kB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001851/0.2477, allocations: 91.52 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.2478, allocations: 0 / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.000371/0.2481, allocations: 161.4 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.2482, allocations: 59.39 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.2483, allocations: 129 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.2483, allocations: 33.7 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.822e-05/0.2484, allocations: 96.27 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.2484, allocations: 15.81 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.646e-05/0.2485, allocations: 33.7 kB / 1.058 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.551e-05/0.2486, allocations: 322.8 kB / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.097e-05/0.2486, allocations: 31.98 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.447e-05/0.2487, allocations: 73.06 kB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.2489, allocations: 97.08 kB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.2489, allocations: 3.984 kB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002161/0.2491, allocations: 129.3 kB / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.2491, allocations: 11.94 kB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.2491, allocations: 0 / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.2492, allocations: 4 kB / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.702e-05/0.2493, allocations: 15.92 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.2493, allocations: 4 kB / 1.058 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.663e-05/0.2494, allocations: 19.92 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-06/0.2494, allocations: 4.125 kB / 1.058 GB, free: 2.512 MB / 0.8106 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.651e-05/0.2495, allocations: 125.8 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.99e-05/0.2495, allocations: 7.906 kB / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002896/0.2498, allocations: 145.9 kB / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2498, allocations: 4 kB / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2498, allocations: 0 / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2498, allocations: 0 / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005004/0.2503, allocations: 434.2 kB / 1.059 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2503, allocations: 0 / 1.059 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.301e-05/0.2504, allocations: 11.98 kB / 1.059 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2504, allocations: 0 / 1.059 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.2504, allocations: 4 kB / 1.059 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.2504, allocations: 3.938 kB / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2504, allocations: 0 / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.2507, allocations: 239.4 kB / 1.059 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.256e-05/0.2507, allocations: 89.33 kB / 1.059 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.2508, allocations: 0 / 1.059 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.2509, allocations: 19.92 kB / 1.059 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.2509, allocations: 11.98 kB / 1.059 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.251, allocations: 11.92 kB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.865e-05/0.251, allocations: 95.27 kB / 1.059 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.251, allocations: 4 kB / 1.059 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002671/0.2513, allocations: 40 kB / 1.059 GB, free: 1.184 MB / 0.8106 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.0006593/0.252, allocations: 0.8265 MB / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002074/0.2522, allocations: 91.83 kB / 1.06 GB, free: 268 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.2522, allocations: 0 / 1.06 GB, free: 268 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.2523, allocations: 43.92 kB / 1.06 GB, free: 224 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.2525, allocations: 17.12 kB / 1.06 GB, free: 208 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.254, allocations: 1.579 MB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.2542, allocations: 0.7 MB / 1.063 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.203e-05/0.2543, allocations: 16.42 kB / 1.063 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.719e-05/0.2544, allocations: 23.44 kB / 1.063 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2544, allocations: 3.938 kB / 1.063 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1752/0.4296, allocations: 3.058 MB / 1.066 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.128/7.557, allocations: 3.297 kB / 1.066 GB, free: 10.8 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches