Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 114 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 186.7 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.777/2.777, allocations: 476.7 MB / 0.7629 GB, free: 15.09 MB / 0.6075 GB " [Timeout remaining time 177] 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.Love1998Light1,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 71.88 kB / 1.107 GB, free: 5.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.013, allocations: 168.7 MB / 1.271 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002738/1.016, allocations: 1.534 MB / 1.273 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0014/1.017, allocations: 0.7669 MB / 1.274 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.741e-05/1.017, allocations: 8.688 kB / 1.274 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.229e-05/1.017, allocations: 5.016 kB / 1.274 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.798e-05/1.017, allocations: 24.05 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006137/1.018, allocations: 123.8 kB / 1.274 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001421/1.018, allocations: 80.67 kB / 1.274 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.861e-05/1.018, allocations: 10.58 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/1.018, allocations: 44.8 kB / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.042e-05/1.018, allocations: 39.33 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/1.018, allocations: 9.875 kB / 1.274 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002171/1.019, allocations: 99.94 kB / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.676e-05/1.019, allocations: 23.36 kB / 1.274 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.821e-05/1.019, allocations: 37.28 kB / 1.274 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002568/1.019, allocations: 143.9 kB / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.019, allocations: 0 / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.142e-06/1.019, allocations: 0.9688 kB / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.789e-06/1.019, allocations: 0 / 1.274 GB, free: 5.848 MB / 0.9981 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.0006332/1.019, allocations: 469.2 kB / 1.275 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/1.02, allocations: 8.781 kB / 1.275 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.59e-05/1.02, allocations: 34.86 kB / 1.275 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/1.02, allocations: 8.766 kB / 1.275 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/1.02, allocations: 186.5 kB / 1.275 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/1.02, allocations: 3.188 kB / 1.275 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/1.02, allocations: 5.625 kB / 1.275 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/1.02, allocations: 78.47 kB / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/1.02, allocations: 0 / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/1.02, allocations: 0.9688 kB / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/1.02, allocations: 4.812 kB / 1.275 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/1.02, allocations: 40.73 kB / 1.275 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004594/1.021, allocations: 322.2 kB / 1.275 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/1.021, allocations: 56.84 kB / 1.276 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.7e-05/1.021, allocations: 34.64 kB / 1.276 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/1.021, allocations: 4.812 kB / 1.276 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002425/1.021, allocations: 96.64 kB / 1.276 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/1.021, allocations: 0 / 1.276 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0004154/1.021, allocations: 157.4 kB / 1.276 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/1.021, allocations: 55.3 kB / 1.276 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.547e-05/1.022, allocations: 130.7 kB / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/1.022, allocations: 31.2 kB / 1.276 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.795e-05/1.022, allocations: 88.38 kB / 1.276 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/1.022, allocations: 25.3 kB / 1.276 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.467e-05/1.022, allocations: 35.95 kB / 1.276 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.103e-05/1.022, allocations: 325 kB / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.919e-05/1.022, allocations: 22.25 kB / 1.276 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.114e-05/1.022, allocations: 79.7 kB / 1.277 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/1.022, allocations: 107.2 kB / 1.277 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.022, allocations: 1.344 kB / 1.277 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002476/1.022, allocations: 125.1 kB / 1.277 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/1.022, allocations: 9 kB / 1.277 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/1.022, allocations: 1.312 kB / 1.277 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/1.022, allocations: 1.969 kB / 1.277 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/1.023, allocations: 18.75 kB / 1.277 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/1.023, allocations: 16.94 kB / 1.277 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/1.023, allocations: 22.97 kB / 1.277 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/1.023, allocations: 7.141 kB / 1.277 GB, free: 3.656 MB / 0.9981 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 7.892e-05/1.023, allocations: 127.4 kB / 1.277 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/1.023, allocations: 11.08 kB / 1.277 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003187/1.023, allocations: 144.6 kB / 1.277 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.023, allocations: 1.25 kB / 1.277 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/1.023, allocations: 4 kB / 1.277 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/1.023, allocations: 1.781 kB / 1.277 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004999/1.024, allocations: 420.4 kB / 1.278 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.024, allocations: 0 / 1.278 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.66e-05/1.024, allocations: 14.17 kB / 1.278 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/1.024, allocations: 4.875 kB / 1.278 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/1.024, allocations: 8.422 kB / 1.278 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/1.024, allocations: 4.938 kB / 1.278 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.024, allocations: 0.7188 kB / 1.278 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/1.024, allocations: 228.6 kB / 1.278 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.11e-05/1.024, allocations: 89.33 kB / 1.278 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/1.024, allocations: 1.984 kB / 1.278 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/1.024, allocations: 15.09 kB / 1.278 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/1.024, allocations: 10.14 kB / 1.278 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/1.024, allocations: 5.891 kB / 1.278 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.855e-05/1.024, allocations: 105.7 kB / 1.278 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.024, allocations: 0 / 1.278 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000342/1.025, allocations: 41.81 kB / 1.278 GB, free: 2.707 MB / 0.9981 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.0006807/1.025, allocations: 0.8186 MB / 1.279 GB, free: 2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002518/1.026, allocations: 86.05 kB / 1.279 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.026, allocations: 0.875 kB / 1.279 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/1.026, allocations: 41.7 kB / 1.279 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/1.026, allocations: 30.25 kB / 1.279 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/1.027, allocations: 1.6 MB / 1.281 GB, free: 16.55 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/1.028, allocations: 0.6927 MB / 1.281 GB, free: 15.85 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.025e-05/1.028, allocations: 9.703 kB / 1.281 GB, free: 15.85 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.682e-05/1.028, allocations: 32.14 kB / 1.281 GB, free: 15.83 MB / 1.014 GB Notification: Performance of SimCode: time 6.01e-07/1.028, allocations: 0.7188 kB / 1.281 GB, free: 15.83 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02707/1.055, allocations: 3.098 MB / 1.284 GB, free: 15.31 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.956/9.011, allocations: 7.234 kB / 1.284 GB, free: 15.31 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.957064646994695]