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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 107.5 kB / 16.45 MB, free: 6.488 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.001312/0.001312, allocations: 196.6 kB / 19.41 MB, free: 3.68 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.427/1.427, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.544/2.544, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 67.91 kB / 1.056 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8797/0.8816, allocations: 160.7 MB / 1.213 GB, free: 3.898 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.003528/0.8851, allocations: 1.525 MB / 1.214 GB, free: 2.699 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001572/0.8867, allocations: 0.7582 MB / 1.215 GB, free: 2.113 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.524e-05/0.8868, allocations: 0.75 kB / 1.215 GB, free: 2.113 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.702e-05/0.8868, allocations: 7.875 kB / 1.215 GB, free: 2.105 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.422e-05/0.8869, allocations: 18.69 kB / 1.215 GB, free: 2.09 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005503/0.8875, allocations: 126.4 kB / 1.215 GB, free: 2 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.8876, allocations: 81.64 kB / 1.215 GB, free: 1.953 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.786e-05/0.8877, allocations: 12.47 kB / 1.215 GB, free: 1.945 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.8878, allocations: 42.66 kB / 1.215 GB, free: 1.918 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.376e-05/0.8879, allocations: 48.02 kB / 1.215 GB, free: 1.883 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.8879, allocations: 6.344 kB / 1.215 GB, free: 1.883 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.8881, allocations: 100.8 kB / 1.216 GB, free: 1.832 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.436e-05/0.8881, allocations: 10.55 kB / 1.216 GB, free: 1.824 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.132e-05/0.8882, allocations: 37.33 kB / 1.216 GB, free: 1.797 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.8884, allocations: 154.5 kB / 1.216 GB, free: 1.695 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.8884, allocations: 1.125 kB / 1.216 GB, free: 1.695 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8884, allocations: 0 / 1.216 GB, free: 1.695 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.8885, allocations: 0 / 1.216 GB, free: 1.695 MB / 0.92 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.0007838/0.8892, allocations: 469.8 kB / 1.216 GB, free: 1.215 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.8893, allocations: 13.89 kB / 1.216 GB, free: 1.211 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.951e-05/0.8893, allocations: 35.91 kB / 1.216 GB, free: 1.168 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/0.8894, allocations: 9.547 kB / 1.216 GB, free: 1.164 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.8895, allocations: 176.7 kB / 1.216 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.8895, allocations: 7.609 kB / 1.216 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.8895, allocations: 11.59 kB / 1.216 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.8897, allocations: 77.75 kB / 1.216 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.8898, allocations: 0 / 1.216 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.8898, allocations: 5.344 kB / 1.217 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.8898, allocations: 1.094 kB / 1.217 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.8899, allocations: 37.16 kB / 1.217 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005552/0.8905, allocations: 333.8 kB / 1.217 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.8906, allocations: 61.36 kB / 1.217 GB, free: 484 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.705e-05/0.8907, allocations: 29.5 kB / 1.217 GB, free: 464 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.8907, allocations: 6.203 kB / 1.217 GB, free: 460 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002583/0.891, allocations: 91.8 kB / 1.217 GB, free: 380 kB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.891, allocations: 0 / 1.217 GB, free: 380 kB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0004163/0.8914, allocations: 163 kB / 1.217 GB, free: 284 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.8915, allocations: 57.61 kB / 1.217 GB, free: 216 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.8916, allocations: 136.1 kB / 1.217 GB, free: 88 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.8916, allocations: 27.02 kB / 1.217 GB, free: 56 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.389e-05/0.8917, allocations: 91.03 kB / 1.217 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.8917, allocations: 19.05 kB / 1.218 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.803e-05/0.8918, allocations: 32.8 kB / 1.218 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.8919, allocations: 329 kB / 1.218 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.193e-05/0.892, allocations: 21.92 kB / 1.218 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.8921, allocations: 68.56 kB / 1.218 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.8923, allocations: 105 kB / 1.218 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.8923, allocations: 1 kB / 1.218 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002418/0.8925, allocations: 123.5 kB / 1.218 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.8925, allocations: 6.781 kB / 1.218 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.8925, allocations: 4.969 kB / 1.218 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.8925, allocations: 10.02 kB / 1.218 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.8926, allocations: 19.05 kB / 1.218 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.8927, allocations: 2.281 kB / 1.218 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.8928, allocations: 18.48 kB / 1.218 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.8928, allocations: 8.109 kB / 1.218 GB, free: 15.32 MB / 0.9356 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.0001131/0.8929, allocations: 127.9 kB / 1.218 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.082e-05/0.8929, allocations: 7.234 kB / 1.218 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003332/0.8932, allocations: 146.6 kB / 1.218 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.8932, allocations: 1.531 kB / 1.218 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.8933, allocations: 0 / 1.218 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.8933, allocations: 1.094 kB / 1.218 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006098/0.8939, allocations: 430 kB / 1.219 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.8939, allocations: 0 / 1.219 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.864e-05/0.8939, allocations: 12.28 kB / 1.219 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.8939, allocations: 5.188 kB / 1.219 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.894, allocations: 8.703 kB / 1.219 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.894, allocations: 5.094 kB / 1.219 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.894, allocations: 0 / 1.219 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.8943, allocations: 220.8 kB / 1.219 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.494e-05/0.8943, allocations: 91.36 kB / 1.219 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.8943, allocations: 5.594 kB / 1.219 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.8945, allocations: 13.28 kB / 1.219 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.8945, allocations: 8.547 kB / 1.219 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.8945, allocations: 15.95 kB / 1.219 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.524e-05/0.8946, allocations: 96.64 kB / 1.219 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8946, allocations: 0 / 1.219 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003167/0.8949, allocations: 39.28 kB / 1.219 GB, free: 14.29 MB / 0.9356 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.0008987/0.8958, allocations: 0.8333 MB / 1.22 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000242/0.896, allocations: 79.36 kB / 1.22 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.896, allocations: 256 / 1.22 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.8961, allocations: 45.11 kB / 1.22 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.8964, allocations: 20.52 kB / 1.22 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.8983, allocations: 1.593 MB / 1.222 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.8986, allocations: 0.6935 MB / 1.223 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.101e-05/0.8987, allocations: 13.95 kB / 1.223 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/0.8987, allocations: 24.88 kB / 1.223 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.8987, allocations: 0.9375 kB / 1.223 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0258/0.9245, allocations: 3.12 MB / 1.226 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.143/9.068, allocations: 2.062 kB / 1.226 GB, free: 9.656 MB / 0.9356 GB " [Timeout remaining time 291] (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 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_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.805705888196826]