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.001265/0.001265, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001559/0.001559, allocations: 215.3 kB / 22.25 MB, free: 5.082 MB / 14.72 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 1.51/1.51, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.832/2.832, allocations: 476.7 MB / 0.7707 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 65.42 kB / 1.117 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3098, allocations: 170 MB / 1.283 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002971/0.3128, allocations: 1.541 MB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001684/0.3144, allocations: 0.8625 MB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.003e-05/0.3145, allocations: 4 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.621e-05/0.3145, allocations: 7.875 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.3146, allocations: 11.86 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005935/0.3152, allocations: 155.5 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.3154, allocations: 87.7 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.077e-05/0.3155, allocations: 15.97 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.3156, allocations: 43.86 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.734e-05/0.3157, allocations: 43.81 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.3157, allocations: 11.94 kB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002748/0.316, allocations: 143.8 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.382e-05/0.316, allocations: 15.98 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.501e-05/0.316, allocations: 39.78 kB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.3163, allocations: 163 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3163, allocations: 0 / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3163, allocations: 7.938 kB / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.3163, allocations: 0 / 1.286 GB, free: 8.617 MB / 0.9825 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.0007591/0.3171, allocations: 393.2 kB / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.3171, allocations: 12.03 kB / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.745e-05/0.3172, allocations: 38.69 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003187/0.3175, allocations: 28.86 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.3178, allocations: 130.4 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.3178, allocations: 8.375 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.3178, allocations: 8.375 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.318, allocations: 73.77 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.318, allocations: 0 / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.318, allocations: 4 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.318, allocations: 4 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.3182, allocations: 43.84 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005938/0.3188, allocations: 291.8 kB / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.3189, allocations: 62.58 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.366e-05/0.319, allocations: 32.84 kB / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.319, allocations: 4 kB / 1.288 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.3193, allocations: 95.5 kB / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.3193, allocations: 0 / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004106/0.3197, allocations: 157.5 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/0.3197, allocations: 55.41 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.3199, allocations: 133.1 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.3199, allocations: 25.7 kB / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.836e-05/0.32, allocations: 100.3 kB / 1.288 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.32, allocations: 27.8 kB / 1.288 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.505e-05/0.32, allocations: 33.64 kB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.3202, allocations: 326.8 kB / 1.288 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.593e-05/0.3203, allocations: 27.92 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.3204, allocations: 69.12 kB / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.3206, allocations: 97.08 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3206, allocations: 0 / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002526/0.3208, allocations: 137.6 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3208, allocations: 4 kB / 1.289 GB, free: 6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3209, allocations: 4 kB / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.3209, allocations: 0 / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.321, allocations: 19.92 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.321, allocations: 4 kB / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.754e-05/0.3211, allocations: 11.94 kB / 1.289 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.3211, allocations: 4 kB / 1.289 GB, free: 5.957 MB / 0.9825 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.0001311/0.3212, allocations: 138.2 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.3213, allocations: 11.94 kB / 1.289 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003422/0.3216, allocations: 145.9 kB / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3216, allocations: 3.938 kB / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3216, allocations: 3.938 kB / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3216, allocations: 0 / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006075/0.3222, allocations: 401.4 kB / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3222, allocations: 4 kB / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.922e-05/0.3223, allocations: 11.98 kB / 1.289 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3223, allocations: 0 / 1.289 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.3223, allocations: 0 / 1.289 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.3223, allocations: 3.938 kB / 1.289 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3223, allocations: 4 kB / 1.289 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003536/0.3227, allocations: 235.5 kB / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.601e-05/0.3227, allocations: 11.95 kB / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.3227, allocations: 0 / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.3228, allocations: 11.92 kB / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.3229, allocations: 11.98 kB / 1.29 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.3229, allocations: 7.984 kB / 1.29 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.596e-05/0.323, allocations: 103.2 kB / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.323, allocations: 0 / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003296/0.3233, allocations: 39.94 kB / 1.29 GB, free: 4.746 MB / 0.9825 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.0009356/0.3242, allocations: 0.8149 MB / 1.291 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002637/0.3245, allocations: 88.11 kB / 1.291 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3245, allocations: 3.938 kB / 1.291 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.3246, allocations: 39.92 kB / 1.291 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.3249, allocations: 21.17 kB / 1.291 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.3269, allocations: 1.607 MB / 1.292 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.3272, allocations: 0.6963 MB / 1.293 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.673e-05/0.3272, allocations: 12.42 kB / 1.293 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/0.3273, allocations: 23.42 kB / 1.293 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3273, allocations: 0 / 1.293 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03115/0.3584, allocations: 3.308 MB / 1.296 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.55, allocations: 2.578 kB / 1.296 GB, free: 14.14 MB / 0.9981 GB " [Timeout remaining time 288] (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/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] "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: 18.5566708059996]