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.001983/0.001983, 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.003286/0.003286, allocations: 190 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.554/2.554, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.605/4.605, allocations: 461.9 MB / 0.7344 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002615/0.002615, allocations: 64.5 kB / 0.8987 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3899, allocations: 157.4 MB / 1.052 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.00497/0.395, allocations: 1.578 MB / 1.054 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002258/0.3972, allocations: 0.7599 MB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.273e-05/0.3974, allocations: 4 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.394e-05/0.3975, allocations: 3.938 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.3976, allocations: 15.84 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.3987, allocations: 107.8 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.3989, allocations: 91.69 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.3991, allocations: 12 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.3992, allocations: 43.84 kB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.3994, allocations: 39.83 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.3994, allocations: 8 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000319/0.3997, allocations: 91.91 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.861e-05/0.3998, allocations: 23.91 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.661e-05/0.3999, allocations: 39.8 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003749/0.4003, allocations: 147.8 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 9.959e-06/0.4003, allocations: 8 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4003, allocations: 0 / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.4003, allocations: 0 / 1.055 GB, free: 5.645 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.001188/0.4015, allocations: 479.7 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.4016, allocations: 8.625 kB / 1.056 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.402e-05/0.4017, allocations: 34.75 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.223e-05/0.4018, allocations: 8.844 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.402, allocations: 184.2 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.4022, allocations: 34.27 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.4022, allocations: 20.25 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000343/0.4026, allocations: 77.52 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.4026, allocations: 0 / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.4026, allocations: 4 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.4026, allocations: 7.984 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003447/0.403, allocations: 43.97 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000834/0.4038, allocations: 324.7 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003592/0.4042, allocations: 70.55 kB / 1.057 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/0.4044, allocations: 36.83 kB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.269e-05/0.4045, allocations: 0 / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004536/0.405, allocations: 103.5 kB / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 2.374e-06/0.405, allocations: 0 / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0008513/0.4058, allocations: 169.5 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.096e-05/0.4059, allocations: 59.39 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.4061, allocations: 134.1 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.4062, allocations: 29.7 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.056e-05/0.4063, allocations: 96.36 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.652e-05/0.4063, allocations: 23.66 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.691e-05/0.4064, allocations: 29.7 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.4066, allocations: 326.8 kB / 1.058 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.4068, allocations: 27.98 kB / 1.058 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.4071, allocations: 69.12 kB / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000401/0.4075, allocations: 113.4 kB / 1.058 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.4075, allocations: 0 / 1.058 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005334/0.4081, allocations: 129.4 kB / 1.058 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.4081, allocations: 11.94 kB / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4081, allocations: 3.938 kB / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.4081, allocations: 4.125 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.4083, allocations: 23.98 kB / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/0.4084, allocations: 3.984 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.4086, allocations: 11.91 kB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/0.4086, allocations: 7.984 kB / 1.058 GB, free: 2.695 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 0.0001541/0.4088, allocations: 131.2 kB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.778e-05/0.4088, allocations: 7.906 kB / 1.058 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.92e-05/0.4089, allocations: 8.719 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.4089, allocations: 8 kB / 1.058 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.4089, allocations: 3.938 kB / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.4089, allocations: 3.984 kB / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.4101, allocations: 422.3 kB / 1.058 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.4101, allocations: 0 / 1.058 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.4102, allocations: 11.98 kB / 1.058 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.4103, allocations: 4 kB / 1.058 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.4103, allocations: 8 kB / 1.058 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.276e-05/0.4103, allocations: 11.91 kB / 1.058 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4103, allocations: 3.938 kB / 1.058 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007962/0.4111, allocations: 215.4 kB / 1.059 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.651e-05/0.4112, allocations: 85.02 kB / 1.059 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/0.4113, allocations: 11.94 kB / 1.059 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/0.4115, allocations: 15.92 kB / 1.059 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.447e-05/0.4116, allocations: 15.97 kB / 1.059 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/0.4117, allocations: 4 kB / 1.059 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00011/0.4118, allocations: 105.5 kB / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.41e-07/0.4118, allocations: 0 / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006415/0.4125, allocations: 43.89 kB / 1.059 GB, free: 1.5 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.001491/0.414, allocations: 0.8182 MB / 1.06 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000564/0.4146, allocations: 99.81 kB / 1.06 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4146, allocations: 0 / 1.06 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002384/0.4148, allocations: 47.97 kB / 1.06 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005416/0.4154, allocations: 16.2 kB / 1.06 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003536/0.419, allocations: 1.646 MB / 1.062 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004542/0.4194, allocations: 0.7 MB / 1.062 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000115/0.4196, allocations: 8.656 kB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.9e-05/0.4197, allocations: 27.42 kB / 1.062 GB, free: 14 MB / 0.8262 GB Notification: Performance of SimCode: time 4.3e-07/0.4197, allocations: 0 / 1.062 GB, free: 14 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03002/0.4497, allocations: 2.896 MB / 1.065 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003871/0.4502, allocations: 265.1 kB / 1.065 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.073/4.523, allocations: 4 kB / 1.065 GB, free: 10.99 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