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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008417/0.0008417, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9462/0.9462, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.714/1.714, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.844e-06/1.844e-06, allocations: 0 / 0.9505 GB, free: 3.539 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.876e-05/3.061e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002474/0.002505, allocations: 1.521 MB / 0.952 GB, free: 1.992 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.003682, allocations: 0.8027 MB / 0.9527 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.955e-05/0.003762, allocations: 0 / 0.9527 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.031e-05/0.003802, allocations: 11.88 kB / 0.9528 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.003917, allocations: 19.84 kB / 0.9528 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007503/0.004667, allocations: 151.3 kB / 0.9529 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.004819, allocations: 87.7 kB / 0.953 GB, free: 0.918 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.004925, allocations: 4 kB / 0.953 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.005108, allocations: 59.81 kB / 0.9531 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.137e-05/0.005169, allocations: 35.88 kB / 0.9531 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.005188, allocations: 8 kB / 0.9531 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002328/0.005421, allocations: 147.7 kB / 0.9532 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.397e-05/0.005445, allocations: 19.92 kB / 0.9533 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.182e-05/0.005487, allocations: 27.91 kB / 0.9533 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.005732, allocations: 183.5 kB / 0.9535 GB, free: 452 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.005736, allocations: 0 / 0.9535 GB, free: 452 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.983e-06/0.005738, allocations: 0 / 0.9535 GB, free: 452 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.005743, allocations: 0 / 0.9535 GB, free: 452 kB / 0.9011 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.0005713/0.006314, allocations: 389.2 kB / 0.9538 GB, free: 20 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.006354, allocations: 12.02 kB / 0.9538 GB, free: 8 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.673e-05/0.006401, allocations: 42.69 kB / 0.9539 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001945/0.006596, allocations: 24.88 kB / 0.9539 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.006826, allocations: 141.5 kB / 0.954 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.006844, allocations: 8.375 kB / 0.9541 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.006857, allocations: 4.375 kB / 0.9541 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.007009, allocations: 74.2 kB / 0.9541 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.007016, allocations: 192 / 0.9541 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.007028, allocations: 4.125 kB / 0.9541 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.007033, allocations: 3.938 kB / 0.9541 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.291e-05/0.007126, allocations: 51.91 kB / 0.9542 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.007545, allocations: 267.9 kB / 0.9544 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.00767, allocations: 58.5 kB / 0.9545 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.19e-05/0.007732, allocations: 32.83 kB / 0.9545 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.00776, allocations: 0 / 0.9545 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001894/0.007949, allocations: 103.3 kB / 0.9546 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.007951, allocations: 0 / 0.9546 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10): time 0.000377/0.008328, allocations: 161.5 kB / 0.9548 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.008386, allocations: 55.39 kB / 0.9548 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.008503, allocations: 132.9 kB / 0.955 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.00852, allocations: 25.7 kB / 0.955 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.336e-05/0.008583, allocations: 92.38 kB / 0.9551 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.008609, allocations: 24 kB / 0.9551 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.319e-05/0.008672, allocations: 34.08 kB / 0.9551 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.008787, allocations: 318.8 kB / 0.9554 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.165e-05/0.008849, allocations: 27.98 kB / 0.9555 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.9e-05/0.008928, allocations: 69.12 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.009067, allocations: 104.9 kB / 0.9556 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.009073, allocations: 7.938 kB / 0.9556 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001863/0.009259, allocations: 129.7 kB / 0.9558 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.009278, allocations: 14.19 kB / 0.9558 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.009287, allocations: 3.984 kB / 0.9558 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.009302, allocations: 3.984 kB / 0.9558 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.457e-05/0.009387, allocations: 15.98 kB / 0.9558 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.009399, allocations: 11.94 kB / 0.9558 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.514e-05/0.009454, allocations: 7.938 kB / 0.9558 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.009466, allocations: 7.984 kB / 0.9558 GB, free: 13.79 MB / 0.9167 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.273e-05/0.009559, allocations: 127.7 kB / 0.9559 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.009573, allocations: 11.95 kB / 0.956 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002473/0.00982, allocations: 153.9 kB / 0.9561 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.009824, allocations: 0 / 0.9561 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.009829, allocations: 0 / 0.9561 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.009834, allocations: 0 / 0.9561 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004084/0.01024, allocations: 393.5 kB / 0.9565 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.01025, allocations: 3.984 kB / 0.9565 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.659e-05/0.01028, allocations: 11.94 kB / 0.9565 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.01029, allocations: 0 / 0.9565 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.0103, allocations: 7.984 kB / 0.9565 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.0103, allocations: 4 kB / 0.9565 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.0103, allocations: 0 / 0.9565 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.01049, allocations: 219.4 kB / 0.9567 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.467e-05/0.0105, allocations: 15.84 kB / 0.9567 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.01052, allocations: 11.98 kB / 0.9567 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.767e-05/0.01058, allocations: 4 kB / 0.9567 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.01062, allocations: 15.97 kB / 0.9568 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.01064, allocations: 4 kB / 0.9568 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.983e-05/0.01069, allocations: 107.1 kB / 0.9569 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01069, allocations: 0 / 0.9569 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002607/0.01095, allocations: 51.86 kB / 0.9569 GB, free: 12.58 MB / 0.9167 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.0006708/0.01162, allocations: 0.8171 MB / 0.9577 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001997/0.01182, allocations: 91.86 kB / 0.9578 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01182, allocations: 0 / 0.9578 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.793e-05/0.01189, allocations: 39.97 kB / 0.9578 GB, free: 11.63 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.01212, allocations: 24 kB / 0.9579 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.0136, allocations: 1.6 MB / 0.9594 GB, free: 9.895 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.976e-05/0.01366, allocations: 87.67 kB / 0.9595 GB, free: 9.785 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.063e-05/0.0137, allocations: 8.484 kB / 0.9595 GB, free: 9.777 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.154e-05/0.01375, allocations: 32.48 kB / 0.9595 GB, free: 9.746 MB / 0.9167 GB Notification: Performance of SimCode: time 1.062e-06/0.01376, allocations: 0 / 0.9595 GB, free: 9.746 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0206/0.03436, allocations: 3.9 MB / 0.9634 GB, free: 5.996 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.99/7.024, allocations: 6.062 kB / 0.9634 GB, free: 5.992 MB / 0.9167 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable lig.occ in file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.csv. Warning: Get data of variable lig.occ from file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.csv failed! Error: Could not read variable lig.on in file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.csv. Warning: Get data of variable lig.on from file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.321796619333327]