Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.001955/0.001955, allocations: 109.2 kB / 16.45 MB, free: 6.453 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.002115/0.002115, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.544/1.544, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.863/2.863, allocations: 476.7 MB / 0.7672 GB, free: 5.203 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.Hunt1979Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",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.002308/0.002308, allocations: 68.14 kB / 1.112 GB, free: 1.543 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8265/0.8288, allocations: 169.9 MB / 1.278 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.003287/0.8321, allocations: 1.554 MB / 1.28 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001732/0.8338, allocations: 0.8429 MB / 1.281 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.8339, allocations: 0 / 1.281 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.967e-05/0.834, allocations: 11.88 kB / 1.281 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.8341, allocations: 19.84 kB / 1.281 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006492/0.8347, allocations: 147.5 kB / 1.281 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.8349, allocations: 91.64 kB / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.777e-05/0.835, allocations: 11.98 kB / 1.281 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.8352, allocations: 43.91 kB / 1.281 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.094e-05/0.8352, allocations: 47.7 kB / 1.281 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.8353, allocations: 8 kB / 1.281 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002592/0.8355, allocations: 115.9 kB / 1.281 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.894e-05/0.8356, allocations: 15.98 kB / 1.281 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.539e-05/0.8356, allocations: 35.8 kB / 1.281 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003604/0.836, allocations: 181.2 kB / 1.281 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.836, allocations: 0 / 1.281 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.222e-06/0.836, allocations: 0 / 1.281 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.836, allocations: 3.984 kB / 1.281 GB, free: 10.26 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.000886/0.8369, allocations: 478.3 kB / 1.282 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.8369, allocations: 8.031 kB / 1.282 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.305e-05/0.837, allocations: 38.75 kB / 1.282 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002674/0.8372, allocations: 28.86 kB / 1.282 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.8375, allocations: 196.2 kB / 1.282 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.943e-05/0.8376, allocations: 38.25 kB / 1.282 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.8376, allocations: 4.375 kB / 1.282 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.8379, allocations: 89.39 kB / 1.282 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.8379, allocations: 4 kB / 1.282 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.8379, allocations: 0 / 1.282 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.8379, allocations: 0 / 1.282 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002101/0.8381, allocations: 51.95 kB / 1.282 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006505/0.8388, allocations: 320.7 kB / 1.282 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.839, allocations: 66.53 kB / 1.283 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.8391, allocations: 32.84 kB / 1.283 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.8391, allocations: 4 kB / 1.283 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002447/0.8394, allocations: 99.33 kB / 1.283 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.8394, allocations: 0 / 1.283 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0005736/0.84, allocations: 173.5 kB / 1.283 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/0.84, allocations: 55.41 kB / 1.283 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.8402, allocations: 136.5 kB / 1.283 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.8402, allocations: 29.7 kB / 1.283 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.95e-05/0.8403, allocations: 100.3 kB / 1.283 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.8403, allocations: 31.92 kB / 1.283 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/0.8404, allocations: 33.7 kB / 1.283 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.8405, allocations: 326.8 kB / 1.284 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.8407, allocations: 27.98 kB / 1.284 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.8408, allocations: 71.25 kB / 1.284 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/0.8411, allocations: 109 kB / 1.284 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.8411, allocations: 4 kB / 1.284 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003478/0.8414, allocations: 137.5 kB / 1.284 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.8414, allocations: 4 kB / 1.284 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.8415, allocations: 4 kB / 1.284 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.8415, allocations: 0 / 1.284 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.8416, allocations: 20.36 kB / 1.284 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.8416, allocations: 4 kB / 1.284 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.8417, allocations: 15.98 kB / 1.284 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.8417, allocations: 7.938 kB / 1.284 GB, free: 7.281 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.0001336/0.8419, allocations: 136.2 kB / 1.284 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.8419, allocations: 11.91 kB / 1.284 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.537e-05/0.8419, allocations: 12.72 kB / 1.284 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.8419, allocations: 0 / 1.284 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.8419, allocations: 0 / 1.284 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.842, allocations: 3.938 kB / 1.284 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007143/0.8427, allocations: 434.3 kB / 1.284 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.8427, allocations: 0 / 1.284 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.777e-05/0.8427, allocations: 11.98 kB / 1.284 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.8427, allocations: 0 / 1.284 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.8428, allocations: 7.938 kB / 1.284 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.8428, allocations: 3.938 kB / 1.284 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.8428, allocations: 4 kB / 1.284 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003864/0.8432, allocations: 227.4 kB / 1.285 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.087e-05/0.8432, allocations: 85.02 kB / 1.285 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.8432, allocations: 7.938 kB / 1.285 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.8434, allocations: 11.92 kB / 1.285 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/0.8434, allocations: 11.98 kB / 1.285 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.8434, allocations: 7.984 kB / 1.285 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.581e-05/0.8435, allocations: 101.1 kB / 1.285 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8435, allocations: 4 kB / 1.285 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000338/0.8439, allocations: 35.94 kB / 1.285 GB, free: 6.078 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 (10): * Single equations (assignments): 7 * 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.001075/0.8449, allocations: 0.8349 MB / 1.286 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003398/0.8453, allocations: 87.81 kB / 1.286 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.8453, allocations: 0 / 1.286 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.8454, allocations: 47.91 kB / 1.286 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.8457, allocations: 14.27 kB / 1.286 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.848, allocations: 1.647 MB / 1.288 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.8483, allocations: 0.6961 MB / 1.288 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.353e-05/0.8484, allocations: 12.42 kB / 1.288 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.791e-05/0.8485, allocations: 31.42 kB / 1.288 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.8485, allocations: 0 / 1.288 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02919/0.8776, allocations: 3.16 MB / 1.291 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.426/9.303, allocations: 9.297 kB / 1.291 GB, free: 15.52 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_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_Hunt1979Light.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light_res.csv. Warning: Get data of variable lig.occ from file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.csv failed! Error: Could not read variable lig.on in file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.csv. Warning: Get data of variable lig.on from file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.587903873994946]