Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.Love1998Light2,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_11_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.00486/0.00486, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001401/0.001401, allocations: 193.6 kB / 16.67 MB, free: 5.969 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.458/2.458, allocations: 469.8 MB / 0.7425 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 68.11 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6104/0.6122, allocations: 159.1 MB / 1.22 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002588/0.6148, allocations: 1.505 MB / 1.222 GB, free: 0.6562 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.6161, allocations: 0.7605 MB / 1.222 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.853e-05/0.6161, allocations: 0 / 1.222 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.693e-05/0.6162, allocations: 3.938 kB / 1.222 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.818e-05/0.6163, allocations: 19.73 kB / 1.222 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004821/0.6168, allocations: 123.6 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.6169, allocations: 87.75 kB / 1.223 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.04e-05/0.617, allocations: 15.94 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.667e-05/0.6171, allocations: 43.78 kB / 1.223 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.295e-05/0.6172, allocations: 39.83 kB / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.6172, allocations: 8 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001829/0.6174, allocations: 95.84 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.563e-05/0.6174, allocations: 15.98 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.827e-05/0.6175, allocations: 35.8 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.6177, allocations: 151.7 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6177, allocations: 3.984 kB / 1.223 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6177, allocations: 0 / 1.223 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.968e-06/0.6178, allocations: 0 / 1.223 GB, free: 15.26 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.0007095/0.6185, allocations: 462.4 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.6185, allocations: 11.97 kB / 1.223 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.686e-05/0.6186, allocations: 42.73 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.6186, allocations: 8.891 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.6188, allocations: 182.1 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.6188, allocations: 384 / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.887e-05/0.6188, allocations: 8.375 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.619, allocations: 73.77 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.619, allocations: 0 / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.619, allocations: 8 kB / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.619, allocations: 0 / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.6192, allocations: 39.91 kB / 1.224 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005108/0.6197, allocations: 324.7 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.6198, allocations: 58.56 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.266e-05/0.6199, allocations: 36.83 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.6199, allocations: 4.141 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000217/0.6202, allocations: 99.39 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.6202, allocations: 0 / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10): time 0.0003803/0.6206, allocations: 161.5 kB / 1.224 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.6206, allocations: 55.39 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.6207, allocations: 125.8 kB / 1.225 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.6208, allocations: 29.7 kB / 1.225 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.6208, allocations: 100.3 kB / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.6209, allocations: 23.86 kB / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/0.6209, allocations: 29.7 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.6211, allocations: 326.8 kB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.973e-05/0.6211, allocations: 23.98 kB / 1.225 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.6213, allocations: 70.31 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.6214, allocations: 105 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6214, allocations: 0 / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002465/0.6217, allocations: 129.5 kB / 1.225 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.6217, allocations: 4 kB / 1.225 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.6217, allocations: 4 kB / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.6217, allocations: 0 / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.6219, allocations: 15.98 kB / 1.225 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.6219, allocations: 11.92 kB / 1.225 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.622, allocations: 15.89 kB / 1.225 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.622, allocations: 7.938 kB / 1.225 GB, free: 12.43 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.000107/0.6221, allocations: 133.8 kB / 1.226 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.874e-05/0.6221, allocations: 7.953 kB / 1.226 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003203/0.6225, allocations: 145.9 kB / 1.226 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.6225, allocations: 0 / 1.226 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.6225, allocations: 0 / 1.226 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.6225, allocations: 0 / 1.226 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005663/0.6231, allocations: 430.3 kB / 1.226 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.6231, allocations: 4 kB / 1.226 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.674e-05/0.6231, allocations: 11.98 kB / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.6232, allocations: 0 / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.6232, allocations: 8 kB / 1.226 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.6232, allocations: 7.922 kB / 1.226 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.6232, allocations: 0 / 1.226 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.6235, allocations: 223.6 kB / 1.226 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.744e-05/0.6236, allocations: 92.94 kB / 1.226 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.6236, allocations: 8.359 kB / 1.226 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.6237, allocations: 15.88 kB / 1.226 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.6238, allocations: 7.984 kB / 1.226 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.6238, allocations: 7.984 kB / 1.226 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.199e-05/0.6238, allocations: 108.5 kB / 1.227 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6239, allocations: 0 / 1.227 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002805/0.6241, allocations: 39.94 kB / 1.227 GB, free: 11.09 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 (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.0008166/0.625, allocations: 0.8179 MB / 1.227 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000227/0.6252, allocations: 95.89 kB / 1.228 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.6252, allocations: 0 / 1.228 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.6253, allocations: 39.98 kB / 1.228 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.6256, allocations: 24.66 kB / 1.228 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.6273, allocations: 1.594 MB / 1.229 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.6278, allocations: 0.6963 MB / 1.23 GB, free: 7.691 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.237e-05/0.6278, allocations: 8.438 kB / 1.23 GB, free: 7.684 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.964e-05/0.6279, allocations: 27.42 kB / 1.23 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of SimCode: time 2.5e-07/0.6279, allocations: 3.938 kB / 1.23 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2926/0.9205, allocations: 3.093 MB / 1.233 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.73/9.651, allocations: 10.09 kB / 1.233 GB, free: 4.668 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches