Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",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.004547/0.004547, allocations: 103 kB / 15.74 MB, free: 6.043 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.001252/0.001252, allocations: 196.7 kB / 16.67 MB, free: 5.965 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.379/2.379, allocations: 437.1 MB / 0.7106 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 63.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2439, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002238/0.2461, allocations: 1.531 MB / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.2473, allocations: 0.7557 MB / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.214e-05/0.2473, allocations: 0 / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.854e-05/0.2473, allocations: 15.92 kB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.857e-05/0.2474, allocations: 11.81 kB / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004288/0.2479, allocations: 127.6 kB / 1.169 GB, free: 4.824 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.248, allocations: 91.64 kB / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.128e-05/0.2481, allocations: 15.97 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.137e-05/0.2481, allocations: 39.8 kB / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.056e-05/0.2482, allocations: 43.83 kB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.2483, allocations: 8 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.2484, allocations: 99.84 kB / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.794e-05/0.2485, allocations: 19.97 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.658e-05/0.2485, allocations: 35.8 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.2487, allocations: 155.7 kB / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.2487, allocations: 0 / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2488, allocations: 0 / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.2488, allocations: 0 / 1.169 GB, free: 4.324 MB / 0.92 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.0006726/0.2494, allocations: 482.3 kB / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.2495, allocations: 12.03 kB / 1.169 GB, free: 3.781 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.426e-05/0.2495, allocations: 38.67 kB / 1.17 GB, free: 3.734 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.2496, allocations: 8.891 kB / 1.17 GB, free: 3.727 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.2497, allocations: 184.3 kB / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.768e-05/0.2498, allocations: 34.25 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.2498, allocations: 4.375 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.25, allocations: 85.58 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.25, allocations: 3.938 kB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.25, allocations: 0 / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.25, allocations: 0 / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.2502, allocations: 51.95 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004511/0.2507, allocations: 320.7 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.2509, allocations: 70.56 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.251, allocations: 40.84 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.251, allocations: 0 / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002137/0.2512, allocations: 99.34 kB / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.2512, allocations: 3.938 kB / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0004512/0.2517, allocations: 165.5 kB / 1.171 GB, free: 2.555 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.2517, allocations: 59.39 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.2519, allocations: 135.7 kB / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.2519, allocations: 29.7 kB / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.253e-05/0.2519, allocations: 100.3 kB / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.252, allocations: 27.98 kB / 1.171 GB, free: 2.172 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.925e-05/0.252, allocations: 33.64 kB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.2522, allocations: 322.8 kB / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.985e-05/0.2523, allocations: 31.97 kB / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.2524, allocations: 73.12 kB / 1.171 GB, free: 1.688 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.2526, allocations: 101 kB / 1.171 GB, free: 1.57 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.2526, allocations: 8 kB / 1.171 GB, free: 1.562 MB / 0.92 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002818/0.2529, allocations: 137.5 kB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.2529, allocations: 5.875 kB / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2529, allocations: 4 kB / 1.172 GB, free: 1.414 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.816e-06/0.253, allocations: 0 / 1.172 GB, free: 1.414 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.2531, allocations: 23.92 kB / 1.172 GB, free: 1.391 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.2531, allocations: 4 kB / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.2532, allocations: 16.05 kB / 1.172 GB, free: 1.371 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.2532, allocations: 8 kB / 1.172 GB, free: 1.363 MB / 0.92 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.829e-05/0.2533, allocations: 123.8 kB / 1.172 GB, free: 1.234 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.2533, allocations: 19.83 kB / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.613e-05/0.2534, allocations: 12.72 kB / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2534, allocations: 0 / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.2534, allocations: 0 / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.2534, allocations: 4 kB / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005686/0.2539, allocations: 422.4 kB / 1.172 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.254, allocations: 0 / 1.172 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.495e-05/0.254, allocations: 4.469 kB / 1.172 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.254, allocations: 7.984 kB / 1.172 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.2541, allocations: 0 / 1.172 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.2541, allocations: 3.938 kB / 1.172 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2541, allocations: 4 kB / 1.172 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.2544, allocations: 231.3 kB / 1.172 GB, free: 480 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.998e-05/0.2545, allocations: 92.95 kB / 1.173 GB, free: 368 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.2545, allocations: 7.938 kB / 1.173 GB, free: 360 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.2546, allocations: 15.92 kB / 1.173 GB, free: 344 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.2547, allocations: 15.98 kB / 1.173 GB, free: 328 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.2547, allocations: 4 kB / 1.173 GB, free: 324 kB / 0.92 GB Notification: Performance of sorting global known variables: time 6.053e-05/0.2547, allocations: 103.2 kB / 1.173 GB, free: 220 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2547, allocations: 0 / 1.173 GB, free: 220 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002664/0.255, allocations: 39.94 kB / 1.173 GB, free: 180 kB / 0.92 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 (10): * Single equations (assignments): 7 * 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.0007946/0.2558, allocations: 0.8284 MB / 1.173 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002668/0.2561, allocations: 87.89 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.2561, allocations: 256 / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.2562, allocations: 51.91 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.2565, allocations: 25.78 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.2582, allocations: 1.625 MB / 1.175 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.2585, allocations: 0.6924 MB / 1.176 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.353e-05/0.2585, allocations: 8.656 kB / 1.176 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.135e-05/0.2586, allocations: 31.42 kB / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.2586, allocations: 0 / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.786/4.045, allocations: 3.11 MB / 1.179 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.888/13.93, allocations: 11.88 kB / 1.179 GB, free: 9.68 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches