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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 108.2 kB / 17.54 MB, free: 4.746 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.001365/0.001365, allocations: 186.7 kB / 20.71 MB, free: 1.586 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.3/1.3, allocations: 225.6 MB / 249.3 MB, free: 3.172 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.474/2.474, allocations: 476.7 MB / 0.7628 GB, free: 15.21 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.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 71.89 kB / 1.107 GB, free: 5.215 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7843/0.786, allocations: 168.7 MB / 1.271 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002141/0.7881, allocations: 1.529 MB / 1.273 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.7892, allocations: 0.77 MB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.734e-05/0.7892, allocations: 12.78 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.088e-05/0.7893, allocations: 6.578 kB / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.222e-05/0.7893, allocations: 19.16 kB / 1.274 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004378/0.7898, allocations: 123.9 kB / 1.274 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.7899, allocations: 80.25 kB / 1.274 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.318e-05/0.7899, allocations: 9.25 kB / 1.274 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.51e-05/0.79, allocations: 48.09 kB / 1.274 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.319e-05/0.7901, allocations: 36.69 kB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.7901, allocations: 7.375 kB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.7903, allocations: 111.2 kB / 1.274 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.307e-05/0.7903, allocations: 16.3 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.142e-05/0.7904, allocations: 37.23 kB / 1.274 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.7906, allocations: 143.4 kB / 1.274 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.7906, allocations: 0 / 1.274 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.452e-06/0.7906, allocations: 0.8438 kB / 1.274 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.7906, allocations: 0 / 1.274 GB, free: 5.895 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.0005509/0.7911, allocations: 474 kB / 1.275 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.7912, allocations: 13.47 kB / 1.275 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.359e-05/0.7912, allocations: 31.88 kB / 1.275 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/0.7912, allocations: 10.69 kB / 1.275 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.976e-05/0.7913, allocations: 181.9 kB / 1.275 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.7913, allocations: 3.281 kB / 1.275 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.7913, allocations: 4.469 kB / 1.275 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.7915, allocations: 80.44 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.7915, allocations: 0 / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.7915, allocations: 2.125 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.7915, allocations: 5.281 kB / 1.275 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.7916, allocations: 42.27 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003903/0.792, allocations: 319.2 kB / 1.275 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.7921, allocations: 59.23 kB / 1.275 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.966e-05/0.7922, allocations: 38.31 kB / 1.275 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.7922, allocations: 2.703 kB / 1.275 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001702/0.7924, allocations: 96.3 kB / 1.276 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.7924, allocations: 0 / 1.276 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0003475/0.7927, allocations: 156.9 kB / 1.276 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.16e-05/0.7928, allocations: 54 kB / 1.276 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.334e-05/0.7928, allocations: 131.7 kB / 1.276 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.7928, allocations: 30.67 kB / 1.276 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.635e-05/0.7929, allocations: 89.3 kB / 1.276 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.7929, allocations: 26.56 kB / 1.276 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/0.7929, allocations: 34.91 kB / 1.276 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.689e-05/0.793, allocations: 325.3 kB / 1.276 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.146e-05/0.793, allocations: 22.09 kB / 1.276 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.109e-05/0.7931, allocations: 71.3 kB / 1.276 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.7933, allocations: 95.64 kB / 1.277 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.7933, allocations: 4 kB / 1.277 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002087/0.7935, allocations: 126.8 kB / 1.277 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.7935, allocations: 7.875 kB / 1.277 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.7935, allocations: 1.719 kB / 1.277 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.7935, allocations: 2.625 kB / 1.277 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.992e-05/0.7936, allocations: 18.47 kB / 1.277 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.7936, allocations: 7.156 kB / 1.277 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.776e-05/0.7937, allocations: 24.67 kB / 1.277 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.7937, allocations: 5.734 kB / 1.277 GB, free: 3.715 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 6.106e-05/0.7938, allocations: 133.4 kB / 1.277 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.7938, allocations: 8.109 kB / 1.277 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002688/0.7941, allocations: 146.4 kB / 1.277 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.7941, allocations: 1.656 kB / 1.277 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.7941, allocations: 4 kB / 1.277 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.7941, allocations: 5.844 kB / 1.277 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000429/0.7945, allocations: 430.6 kB / 1.277 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.7945, allocations: 0.7812 kB / 1.277 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.538e-05/0.7946, allocations: 10.44 kB / 1.277 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.7946, allocations: 0.8125 kB / 1.277 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.7946, allocations: 6.859 kB / 1.277 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.7946, allocations: 4.656 kB / 1.277 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.7946, allocations: 1 kB / 1.277 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.7948, allocations: 232.1 kB / 1.278 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.978e-05/0.7949, allocations: 87.41 kB / 1.278 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.7949, allocations: 1.344 kB / 1.278 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.795, allocations: 17.58 kB / 1.278 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.795, allocations: 7.25 kB / 1.278 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.795, allocations: 11.64 kB / 1.278 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.955e-05/0.7951, allocations: 107.1 kB / 1.278 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7951, allocations: 0 / 1.278 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002829/0.7954, allocations: 41.55 kB / 1.278 GB, free: 2.75 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.0005844/0.796, allocations: 0.8228 MB / 1.279 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002148/0.7962, allocations: 78.97 kB / 1.279 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.7962, allocations: 0.9062 kB / 1.279 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.318e-05/0.7963, allocations: 46.09 kB / 1.279 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.7965, allocations: 25.2 kB / 1.279 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.7979, allocations: 1.598 MB / 1.28 GB, free: 16.59 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.7981, allocations: 0.6933 MB / 1.281 GB, free: 15.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.867e-05/0.7982, allocations: 8.453 kB / 1.281 GB, free: 15.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.847e-05/0.7982, allocations: 31.88 kB / 1.281 GB, free: 15.88 MB / 1.014 GB Notification: Performance of SimCode: time 2.6e-07/0.7982, allocations: 1.094 kB / 1.281 GB, free: 15.88 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02522/0.8235, allocations: 3.101 MB / 1.284 GB, free: 15.35 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.121/7.944, allocations: 6.75 kB / 1.284 GB, free: 15.35 MB / 1.014 GB " [Timeout remaining time 292] (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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,lig.ill,lig.occ,lig.p,lig.on Variables in the result:ill.amplitude,ill.f,ill.offset,ill.phase,ill.startTime,ill.y,lig.B,lig.M,lig.ill,lig.occ,lig.on,lig.p,lig.samplePeriod,lig.seed,occ.period,occ.startTime,occ.width,occ.y,time [Calling sys.exit(0), Time elapsed: 13.19848453799932]