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.001315/0.001315, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001278/0.001278, allocations: 192.8 kB / 16.25 MB, free: 6.641 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.299/1.299, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.353/2.353, allocations: 437 MB / 0.7101 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 59.91 kB / 0.8689 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.584/0.5852, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002823/0.5881, allocations: 1.577 MB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.5894, allocations: 0.7558 MB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.086e-05/0.5895, allocations: 0 / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.998e-05/0.5896, allocations: 3.938 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.983e-05/0.5897, allocations: 15.86 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000544/0.5902, allocations: 111.7 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000134/0.5904, allocations: 83.78 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.892e-05/0.5905, allocations: 19.97 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.953e-05/0.5906, allocations: 43.84 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.183e-05/0.5907, allocations: 39.83 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.5907, allocations: 11.94 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002043/0.5909, allocations: 96 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.604e-05/0.5909, allocations: 15.92 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.42e-05/0.591, allocations: 43.78 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.5913, allocations: 153.8 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5913, allocations: 4 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5913, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.5913, allocations: 0 / 1.02 GB, free: 15.73 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.0007678/0.5921, allocations: 470.5 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.5921, allocations: 16.02 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.039e-05/0.5921, allocations: 34.75 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.358e-05/0.5922, allocations: 8.844 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.5923, allocations: 184.1 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.702e-05/0.5924, allocations: 38.25 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.5924, allocations: 4.375 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.5927, allocations: 81.52 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.5927, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.5927, allocations: 4 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.5927, allocations: 3.938 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.5929, allocations: 55.95 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005158/0.5934, allocations: 320.9 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.5937, allocations: 70.47 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.5938, allocations: 40.84 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.5938, allocations: 4 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002387/0.5941, allocations: 91.34 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 5.36e-06/0.5941, allocations: 4 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0004687/0.5945, allocations: 173.4 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.5946, allocations: 59.34 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.5947, allocations: 139.9 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.5947, allocations: 29.7 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.118e-05/0.5948, allocations: 92.38 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.5948, allocations: 19.86 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.337e-05/0.5949, allocations: 33.7 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.595, allocations: 326.8 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.922e-05/0.5951, allocations: 27.98 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.5952, allocations: 69.12 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.5955, allocations: 105.1 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.5955, allocations: 0 / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002963/0.5958, allocations: 137.5 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.5958, allocations: 8 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.5958, allocations: 0 / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.5958, allocations: 4 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.5959, allocations: 19.92 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.596, allocations: 0 / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.5961, allocations: 19.92 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.5961, allocations: 4.094 kB / 1.022 GB, free: 12.79 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 0.0001072/0.5962, allocations: 138.2 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.5962, allocations: 15.8 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.304e-05/0.5963, allocations: 8.719 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.5963, allocations: 4 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5963, allocations: 0 / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.5963, allocations: 0 / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005958/0.5969, allocations: 430.3 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.5969, allocations: 480 / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.406e-05/0.597, allocations: 11.92 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.597, allocations: 0 / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.597, allocations: 4 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.597, allocations: 3.938 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.597, allocations: 3.938 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.5974, allocations: 231.3 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.5974, allocations: 85.02 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.5975, allocations: 4 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.5976, allocations: 19.92 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/0.5977, allocations: 15.92 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.5977, allocations: 4 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.701e-05/0.5978, allocations: 105.6 kB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5978, allocations: 0 / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000303/0.5981, allocations: 40 kB / 1.023 GB, free: 11.59 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 (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.0008283/0.5989, allocations: 0.8241 MB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002842/0.5992, allocations: 95.81 kB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.5992, allocations: 0 / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.5993, allocations: 39.98 kB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.5996, allocations: 20.17 kB / 1.024 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.6015, allocations: 1.646 MB / 1.026 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.6017, allocations: 0.6967 MB / 1.027 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.833e-05/0.6018, allocations: 8.656 kB / 1.027 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.822e-05/0.6019, allocations: 31.42 kB / 1.027 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.6019, allocations: 4 kB / 1.027 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5689/1.171, allocations: 2.904 MB / 1.03 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002424/1.171, allocations: 250.5 kB / 1.03 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.893/4.064, allocations: 0 / 1.03 GB, free: 5.07 MB / 0.7794 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=50 --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