Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",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.001924/0.001924, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002994/0.002995, allocations: 198.7 kB / 16.26 MB, free: 6.625 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.37/2.37, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.665/4.665, allocations: 461.9 MB / 0.7344 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002584/0.002584, allocations: 60.09 kB / 0.8987 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3977/0.4003, allocations: 157.4 MB / 1.052 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.004776/0.4051, allocations: 1.57 MB / 1.054 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002205/0.4074, allocations: 0.7672 MB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.963e-05/0.4075, allocations: 0 / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.767e-05/0.4076, allocations: 3.938 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001427/0.4078, allocations: 11.91 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000887/0.4087, allocations: 111.8 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.4089, allocations: 87.7 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.409, allocations: 12 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.4092, allocations: 39.84 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.4094, allocations: 39.83 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.117e-05/0.4094, allocations: 8 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003068/0.4097, allocations: 95.84 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.872e-05/0.4098, allocations: 19.92 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.051e-05/0.4099, allocations: 35.84 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004292/0.4103, allocations: 147.9 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.4104, allocations: 0 / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.374e-06/0.4104, allocations: 0 / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.4104, allocations: 4 kB / 1.055 GB, free: 5.656 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.001166/0.4116, allocations: 458.6 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.068e-05/0.4117, allocations: 8.625 kB / 1.056 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.778e-05/0.4117, allocations: 42.73 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.297e-05/0.4118, allocations: 8.844 kB / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.4121, allocations: 183.2 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.4121, allocations: 8.375 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.4121, allocations: 8.375 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002933/0.4124, allocations: 77.77 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.4125, allocations: 0 / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.4125, allocations: 0 / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.4125, allocations: 0 / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002527/0.4128, allocations: 47.91 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008765/0.4137, allocations: 328.6 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005136/0.4142, allocations: 54.56 kB / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.4144, allocations: 36.84 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.4144, allocations: 0 / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004136/0.4149, allocations: 103.3 kB / 1.057 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 2.675e-06/0.4149, allocations: 4 kB / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0007385/0.4156, allocations: 153.5 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.237e-05/0.4157, allocations: 55.41 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.4159, allocations: 125.8 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.154e-05/0.416, allocations: 25.7 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.537e-05/0.4161, allocations: 100.3 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.511e-05/0.4161, allocations: 15.81 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.4162, allocations: 37.7 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.4164, allocations: 322.8 kB / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.4166, allocations: 27.98 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.4168, allocations: 65.12 kB / 1.057 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003649/0.4172, allocations: 101 kB / 1.058 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.4172, allocations: 0 / 1.058 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004525/0.4176, allocations: 137.3 kB / 1.058 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.4177, allocations: 12.12 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/0.4177, allocations: 3.938 kB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.4177, allocations: 4 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.4179, allocations: 11.98 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.418, allocations: 7.938 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.4182, allocations: 15.92 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/0.4182, allocations: 8 kB / 1.058 GB, free: 2.828 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.0001792/0.4184, allocations: 123.3 kB / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.4185, allocations: 11.91 kB / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005653/0.419, allocations: 149.9 kB / 1.058 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.4191, allocations: 4 kB / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.4191, allocations: 0 / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.4191, allocations: 0 / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.4201, allocations: 426.4 kB / 1.058 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.4202, allocations: 8.312 kB / 1.058 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.4203, allocations: 11.98 kB / 1.058 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-06/0.4203, allocations: 0 / 1.058 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.4203, allocations: 0 / 1.058 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.4204, allocations: 11.88 kB / 1.058 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.4204, allocations: 4 kB / 1.058 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000521/0.4209, allocations: 223.3 kB / 1.059 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.855e-05/0.421, allocations: 96.95 kB / 1.059 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.812e-05/0.421, allocations: 0 / 1.059 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.4213, allocations: 11.92 kB / 1.059 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.522e-05/0.4214, allocations: 11.98 kB / 1.059 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/0.4214, allocations: 7.938 kB / 1.059 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001111/0.4215, allocations: 102 kB / 1.059 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.91e-07/0.4216, allocations: 0 / 1.059 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006361/0.4222, allocations: 44 kB / 1.059 GB, free: 1.504 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 (12): * Single equations (assignments): 9 * 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.001373/0.4236, allocations: 0.8245 MB / 1.06 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000414/0.424, allocations: 91.89 kB / 1.06 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.424, allocations: 0 / 1.06 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002072/0.4243, allocations: 51.92 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.0005505/0.4248, allocations: 22.39 kB / 1.06 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/0.4279, allocations: 1.606 MB / 1.061 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/0.4284, allocations: 0.7 MB / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.982e-05/0.4285, allocations: 8.422 kB / 1.062 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.4286, allocations: 31.44 kB / 1.062 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of SimCode: time 1.172e-06/0.4286, allocations: 0 / 1.062 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03093/0.4595, allocations: 2.906 MB / 1.065 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003931/0.46, allocations: 261.1 kB / 1.065 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.813/4.273, allocations: 4.062 kB / 1.065 GB, free: 10.98 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches