Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_11_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.004/0.004, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001177/0.001177, allocations: 193.6 kB / 16.67 MB, free: 5.93 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: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.534/2.534, allocations: 469.8 MB / 0.7425 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 63.89 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5978/0.5996, allocations: 159.1 MB / 1.22 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002334/0.6019, allocations: 1.515 MB / 1.222 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.6031, allocations: 0.7565 MB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.869e-05/0.6031, allocations: 0 / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.574e-05/0.6032, allocations: 3.938 kB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.312e-05/0.6032, allocations: 11.86 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/0.6037, allocations: 131.5 kB / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.6038, allocations: 83.77 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 7.906e-05/0.6039, allocations: 23.97 kB / 1.223 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.578e-05/0.604, allocations: 43.78 kB / 1.223 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.171e-05/0.6041, allocations: 47.77 kB / 1.223 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.6041, allocations: 8 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.6043, allocations: 87.91 kB / 1.223 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.83e-05/0.6043, allocations: 19.92 kB / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.219e-05/0.6044, allocations: 43.78 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.6046, allocations: 151.2 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.6046, allocations: 0 / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of FrontEnd: time 5.39e-06/0.6046, allocations: 4 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.798e-06/0.6046, allocations: 4 kB / 1.223 GB, free: 15.11 MB / 0.9512 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.000712/0.6054, allocations: 482.2 kB / 1.223 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.6054, allocations: 8.031 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.71e-05/0.6054, allocations: 38.75 kB / 1.223 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.6055, allocations: 8.891 kB / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.6056, allocations: 176.3 kB / 1.224 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.823e-05/0.6057, allocations: 42.14 kB / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.6057, allocations: 12.38 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.6059, allocations: 77.58 kB / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.6059, allocations: 0 / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.606, allocations: 0 / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.606, allocations: 0 / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001857/0.6062, allocations: 51.95 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004949/0.6067, allocations: 324.7 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.6069, allocations: 74.53 kB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.607, allocations: 32.84 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.607, allocations: 0 / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002251/0.6072, allocations: 107.4 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.6072, allocations: 0 / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10): time 0.0004658/0.6077, allocations: 173.4 kB / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.6078, allocations: 51.41 kB / 1.225 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.6079, allocations: 136.5 kB / 1.225 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.6079, allocations: 29.7 kB / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.82e-05/0.608, allocations: 96.33 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.608, allocations: 23.78 kB / 1.225 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.166e-05/0.6081, allocations: 33.7 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.6082, allocations: 326.8 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.6083, allocations: 27.98 kB / 1.225 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.6085, allocations: 74.88 kB / 1.225 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.6087, allocations: 113 kB / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.6087, allocations: 0 / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002877/0.609, allocations: 133.5 kB / 1.226 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.609, allocations: 8 kB / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.609, allocations: 0 / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.609, allocations: 4 kB / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.6092, allocations: 20.11 kB / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.6092, allocations: 0 / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.6093, allocations: 15.94 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.6093, allocations: 8.094 kB / 1.226 GB, free: 12.17 MB / 0.9512 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 0.0001026/0.6094, allocations: 140.7 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.6094, allocations: 7.953 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.285e-05/0.6095, allocations: 8.719 kB / 1.226 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.6095, allocations: 7.938 kB / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6095, allocations: 4 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.6095, allocations: 0 / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006007/0.6101, allocations: 426.5 kB / 1.226 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.6101, allocations: 0 / 1.226 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.336e-05/0.6102, allocations: 15.92 kB / 1.226 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.6102, allocations: 0 / 1.226 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.6102, allocations: 4 kB / 1.226 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.6102, allocations: 8.406 kB / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.6102, allocations: 0 / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000339/0.6106, allocations: 235.3 kB / 1.226 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.74e-05/0.6106, allocations: 81.06 kB / 1.226 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.6107, allocations: 4 kB / 1.226 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.6108, allocations: 19.92 kB / 1.226 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.6108, allocations: 7.984 kB / 1.227 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.6109, allocations: 7.984 kB / 1.227 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.214e-05/0.6109, allocations: 99.27 kB / 1.227 GB, free: 11 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6109, allocations: 0 / 1.227 GB, free: 11 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002738/0.6112, allocations: 43.88 kB / 1.227 GB, free: 10.96 MB / 0.9512 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.0008208/0.612, allocations: 0.8344 MB / 1.227 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002778/0.6123, allocations: 95.88 kB / 1.228 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.6123, allocations: 0 / 1.228 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.6125, allocations: 43.98 kB / 1.228 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.6127, allocations: 18.33 kB / 1.228 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.6145, allocations: 1.633 MB / 1.229 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.6148, allocations: 0.6962 MB / 1.23 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.616e-05/0.6149, allocations: 12.66 kB / 1.23 GB, free: 7.492 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.51e-05/0.6149, allocations: 31.42 kB / 1.23 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.6149, allocations: 0 / 1.23 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.462/3.077, allocations: 3.117 MB / 1.233 GB, free: 4.457 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/13.11, allocations: 11.88 kB / 1.233 GB, free: 4.445 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches