Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Hunt1979Light,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_latest_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.001472/0.001472, 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.001838/0.001838, allocations: 196 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.285/1.285, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.537/2.537, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 69.62 kB / 0.8992 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.254, allocations: 157.4 MB / 1.053 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.00228/0.2563, allocations: 1.519 MB / 1.054 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.2575, allocations: 0.7715 MB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.891e-05/0.2575, allocations: 4 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.872e-05/0.2576, allocations: 7.922 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.79e-05/0.2577, allocations: 11.81 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004375/0.2581, allocations: 127.6 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.2582, allocations: 95.69 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.791e-05/0.2583, allocations: 8 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.006e-05/0.2584, allocations: 43.84 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.51e-05/0.2585, allocations: 39.83 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.2585, allocations: 4 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.2587, allocations: 99.91 kB / 1.056 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.761e-05/0.2587, allocations: 27.84 kB / 1.056 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.593e-05/0.2587, allocations: 35.8 kB / 1.056 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.2589, allocations: 147.9 kB / 1.056 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.259, allocations: 3.984 kB / 1.056 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.172e-06/0.259, allocations: 3.938 kB / 1.056 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.259, allocations: 0 / 1.056 GB, free: 5.328 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.0006492/0.2596, allocations: 478.5 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.2597, allocations: 12.62 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.197e-05/0.2597, allocations: 30.75 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.2598, allocations: 16.78 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.2599, allocations: 182.3 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.62e-05/0.2599, allocations: 38.2 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.26, allocations: 8.359 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.2601, allocations: 77.59 kB / 1.057 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.2602, allocations: 0 / 1.057 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.2602, allocations: 7.984 kB / 1.057 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.2602, allocations: 0 / 1.057 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.2604, allocations: 47.97 kB / 1.057 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004385/0.2608, allocations: 320.7 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.261, allocations: 70.53 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.2611, allocations: 44.83 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.2612, allocations: 0 / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002091/0.2614, allocations: 99.3 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.2614, allocations: 4 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0004407/0.2618, allocations: 165.5 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.2619, allocations: 55.41 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.092e-05/0.262, allocations: 130.5 kB / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.262, allocations: 29.7 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.262, allocations: 100.5 kB / 1.058 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.2621, allocations: 27.66 kB / 1.058 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.742e-05/0.2621, allocations: 37.64 kB / 1.058 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.71e-05/0.2622, allocations: 322.8 kB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.2623, allocations: 27.97 kB / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.2624, allocations: 77.12 kB / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.2627, allocations: 105 kB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2627, allocations: 4 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000268/0.2629, allocations: 133.4 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.263, allocations: 4 kB / 1.058 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.263, allocations: 4 kB / 1.058 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.263, allocations: 0 / 1.058 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.2631, allocations: 19.97 kB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.2631, allocations: 7.984 kB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.2632, allocations: 24.02 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.2632, allocations: 4 kB / 1.058 GB, free: 2.375 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 8.057e-05/0.2633, allocations: 127.2 kB / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.939e-05/0.2633, allocations: 11.84 kB / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.636e-05/0.2634, allocations: 12.72 kB / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2634, allocations: 0 / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.2634, allocations: 3.984 kB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2634, allocations: 0 / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000533/0.2639, allocations: 430.3 kB / 1.059 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2639, allocations: 0 / 1.059 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.294e-05/0.264, allocations: 15.92 kB / 1.059 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.264, allocations: 0 / 1.059 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.2641, allocations: 3.984 kB / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.2641, allocations: 3.938 kB / 1.059 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2641, allocations: 0 / 1.059 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.2644, allocations: 231.3 kB / 1.059 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.774e-05/0.2644, allocations: 85.2 kB / 1.059 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.2644, allocations: 8.078 kB / 1.059 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.2646, allocations: 19.86 kB / 1.059 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.2646, allocations: 15.97 kB / 1.059 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.2646, allocations: 8 kB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.826e-05/0.2647, allocations: 97.38 kB / 1.059 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2647, allocations: 0 / 1.059 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002735/0.265, allocations: 51.89 kB / 1.059 GB, free: 1.176 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 (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.0006838/0.2657, allocations: 0.8094 MB / 1.06 GB, free: 364 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002617/0.2659, allocations: 95.81 kB / 1.06 GB, free: 268 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2659, allocations: 0 / 1.06 GB, free: 268 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.2661, allocations: 56.19 kB / 1.06 GB, free: 212 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.2663, allocations: 19.92 kB / 1.06 GB, free: 192 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.2679, allocations: 1.609 MB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.2681, allocations: 0.6964 MB / 1.063 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.958e-05/0.2682, allocations: 12.66 kB / 1.063 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.888e-05/0.2682, allocations: 27.42 kB / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.2682, allocations: 0 / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7404/1.009, allocations: 3.077 MB / 1.066 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.616/9.624, allocations: 9.734 kB / 1.066 GB, free: 10.73 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches