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.001648/0.001648, allocations: 114.5 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.002106/0.002106, allocations: 218.1 kB / 22.26 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.457/1.457, allocations: 230.6 MB / 256 MB, free: 8.012 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.875/2.875, allocations: 476.8 MB / 0.7707 GB, free: 4.262 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.00208/0.00208, allocations: 64.97 kB / 1.117 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3141, allocations: 170 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.00295/0.3171, allocations: 1.554 MB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001716/0.3188, allocations: 0.8663 MB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.516e-05/0.3189, allocations: 8 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.656e-05/0.3189, allocations: 3.938 kB / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.814e-05/0.319, allocations: 15.8 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006083/0.3196, allocations: 155.5 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000155/0.3198, allocations: 87.7 kB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.3199, allocations: 15.92 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.32, allocations: 47.78 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.074e-05/0.3201, allocations: 43.83 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.3202, allocations: 12 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00028/0.3204, allocations: 147.7 kB / 1.286 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.774e-05/0.3205, allocations: 19.92 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.684e-05/0.3205, allocations: 35.84 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.3208, allocations: 171 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.247e-06/0.3208, allocations: 0 / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.018e-06/0.3208, allocations: 3.984 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.3208, allocations: 0 / 1.286 GB, free: 8.492 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.000817/0.3216, allocations: 409.1 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.3217, allocations: 8.031 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.627e-05/0.3217, allocations: 42.69 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002442/0.3219, allocations: 32.81 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.3222, allocations: 126.4 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.3223, allocations: 85.66 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.3224, allocations: 8.375 kB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.3226, allocations: 85.58 kB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3226, allocations: 0 / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.3226, allocations: 3.938 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3226, allocations: 0 / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.3228, allocations: 55.89 kB / 1.287 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005682/0.3234, allocations: 299.7 kB / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.3236, allocations: 70.56 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.3237, allocations: 36.84 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.3237, allocations: 4 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002582/0.324, allocations: 99.34 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.324, allocations: 0 / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004975/0.3245, allocations: 165.5 kB / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.3245, allocations: 51.41 kB / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.3247, allocations: 143.9 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.3247, allocations: 29.7 kB / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.867e-05/0.3248, allocations: 96.33 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.3248, allocations: 24 kB / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.81e-05/0.3249, allocations: 33.7 kB / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.325, allocations: 322.8 kB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.3251, allocations: 31.91 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.3253, allocations: 73.12 kB / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/0.3255, allocations: 105 kB / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3255, allocations: 4 kB / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003066/0.3258, allocations: 137.5 kB / 1.289 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.3258, allocations: 4 kB / 1.289 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3258, allocations: 0 / 1.289 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.3259, allocations: 4 kB / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.326, allocations: 23.86 kB / 1.289 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.326, allocations: 0 / 1.289 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.3261, allocations: 24.05 kB / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.3261, allocations: 7.938 kB / 1.289 GB, free: 5.637 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.0001035/0.3262, allocations: 122.2 kB / 1.289 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.3263, allocations: 11.91 kB / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.254e-05/0.3263, allocations: 12.7 kB / 1.289 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3263, allocations: 7.938 kB / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3263, allocations: 3.938 kB / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3263, allocations: 4 kB / 1.289 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006757/0.327, allocations: 393.4 kB / 1.29 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.327, allocations: 0 / 1.29 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.853e-05/0.3271, allocations: 7.984 kB / 1.29 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-06/0.3271, allocations: 0 / 1.29 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.3271, allocations: 11.92 kB / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.3271, allocations: 0 / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3271, allocations: 4 kB / 1.29 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003864/0.3275, allocations: 227.3 kB / 1.29 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/0.3275, allocations: 15.88 kB / 1.29 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.904e-05/0.3275, allocations: 7.938 kB / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.3277, allocations: 11.98 kB / 1.29 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.482e-05/0.3277, allocations: 15.98 kB / 1.29 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.3277, allocations: 8 kB / 1.29 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.322e-05/0.3278, allocations: 106.4 kB / 1.29 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3278, allocations: 0 / 1.29 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003384/0.3282, allocations: 39.94 kB / 1.29 GB, free: 4.57 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.001052/0.3292, allocations: 0.8234 MB / 1.291 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003298/0.3295, allocations: 95.81 kB / 1.291 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3296, allocations: 4.188 kB / 1.291 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.3297, allocations: 43.92 kB / 1.291 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.33, allocations: 11.98 kB / 1.291 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.3321, allocations: 1.636 MB / 1.293 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.3324, allocations: 0.7002 MB / 1.293 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.164e-05/0.3325, allocations: 8.422 kB / 1.293 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.708e-05/0.3325, allocations: 31.38 kB / 1.293 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of SimCode: time 5.1e-07/0.3325, allocations: 0 / 1.293 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03042/0.363, allocations: 3.316 MB / 1.296 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.47, allocations: 8 kB / 1.296 GB, free: 13.9 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.382007585998508]