Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Love1998Light1,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",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.001145/0.001145, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001158/0.001158, allocations: 195 kB / 16.14 MB, free: 6.648 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.286/1.286, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.556/2.556, allocations: 437 MB / 0.71 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 59.91 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5039/0.5052, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002484/0.5077, allocations: 1.569 MB / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.509, allocations: 0.7674 MB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.752e-05/0.509, allocations: 0 / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.356e-05/0.5091, allocations: 7.922 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.437e-05/0.5092, allocations: 11.92 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004307/0.5096, allocations: 99.77 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.5097, allocations: 79.77 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.426e-05/0.5098, allocations: 12 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.742e-05/0.5099, allocations: 51.7 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.947e-05/0.51, allocations: 31.84 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.51, allocations: 4 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001696/0.5102, allocations: 91.84 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.306e-05/0.5102, allocations: 11.98 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.764e-05/0.5103, allocations: 39.78 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.5105, allocations: 145.9 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5105, allocations: 0 / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.72e-07/0.5105, allocations: 0 / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.5105, allocations: 0 / 1.02 GB, free: 15.87 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.000647/0.5112, allocations: 462.6 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.5112, allocations: 11.97 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.651e-05/0.5112, allocations: 34.73 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.707e-05/0.5113, allocations: 8.844 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.5114, allocations: 188.2 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.5114, allocations: 384 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.5114, allocations: 4.375 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.5116, allocations: 77.77 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/0.5116, allocations: 0 / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.5117, allocations: 0 / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.5117, allocations: 4 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.5118, allocations: 43.91 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004775/0.5123, allocations: 324.7 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.5124, allocations: 62.56 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.928e-05/0.5125, allocations: 44.8 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.5125, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002029/0.5128, allocations: 95.39 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.5128, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0003793/0.5131, allocations: 161.4 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.5132, allocations: 59.39 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.311e-05/0.5133, allocations: 121.8 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.5133, allocations: 29.7 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.352e-05/0.5134, allocations: 100.3 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.5134, allocations: 19.75 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-05/0.5135, allocations: 29.7 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.5136, allocations: 326.8 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.324e-05/0.5137, allocations: 23.98 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.5138, allocations: 72.62 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.514, allocations: 105 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.514, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002398/0.5142, allocations: 129.4 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.5142, allocations: 4 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.5142, allocations: 4 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.5143, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.5144, allocations: 15.98 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.5144, allocations: 3.938 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.5145, allocations: 19.89 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.5145, allocations: 7.938 kB / 1.022 GB, free: 13.05 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 9.166e-05/0.5146, allocations: 130.4 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.933e-05/0.5146, allocations: 7.906 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003081/0.5149, allocations: 149.9 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.515, allocations: 0 / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.515, allocations: 0 / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.515, allocations: 0 / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005363/0.5155, allocations: 430.4 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.5155, allocations: 7.938 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.579e-05/0.5156, allocations: 11.98 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.5156, allocations: 4 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.5156, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.5156, allocations: 3.938 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5157, allocations: 3.984 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.5159, allocations: 231.4 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.598e-05/0.516, allocations: 81.02 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.417e-05/0.516, allocations: 7.984 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.5161, allocations: 12.31 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.5162, allocations: 8.078 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.5162, allocations: 15.91 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.318e-05/0.5163, allocations: 99.27 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5163, allocations: 3.938 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002928/0.5166, allocations: 44 kB / 1.023 GB, free: 11.71 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 (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.0006948/0.5173, allocations: 0.8158 MB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002155/0.5175, allocations: 87.83 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5175, allocations: 0 / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.5176, allocations: 43.98 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.5179, allocations: 21.61 kB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.5195, allocations: 1.609 MB / 1.026 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.5197, allocations: 0.6965 MB / 1.026 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.057e-05/0.5197, allocations: 16.42 kB / 1.026 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.407e-05/0.5198, allocations: 23.42 kB / 1.026 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.5198, allocations: 0 / 1.026 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9592/1.479, allocations: 2.822 MB / 1.029 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002689/1.479, allocations: 262.7 kB / 1.029 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.943/3.422, allocations: 0 / 1.029 GB, free: 5.301 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches