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.001356/0.001356, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001594/0.001594, allocations: 222.1 kB / 23 MB, free: 4.91 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.75/2.75, allocations: 476 MB / 0.7707 GB, free: 4.715 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: translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") [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.002107/0.002107, allocations: 68.25 kB / 1.118 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.3, allocations: 170 MB / 1.284 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002876/0.3029, allocations: 1.522 MB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001549/0.3045, allocations: 0.8041 MB / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.733e-05/0.3045, allocations: 7.938 kB / 1.286 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.145e-05/0.3045, allocations: 7.938 kB / 1.286 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.443e-05/0.3046, allocations: 11.86 kB / 1.286 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006174/0.3053, allocations: 155.5 kB / 1.286 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.3054, allocations: 91.75 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.533e-05/0.3055, allocations: 7.938 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.3056, allocations: 51.78 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.029e-05/0.3057, allocations: 39.81 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.3058, allocations: 8 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002815/0.306, allocations: 139.8 kB / 1.287 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.32e-05/0.3061, allocations: 23.86 kB / 1.287 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.819e-05/0.3061, allocations: 31.84 kB / 1.287 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.3064, allocations: 171.4 kB / 1.287 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3064, allocations: 4 kB / 1.287 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3064, allocations: 0 / 1.287 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.3064, allocations: 0 / 1.287 GB, free: 8.902 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.0008176/0.3072, allocations: 405.2 kB / 1.287 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.3073, allocations: 12.03 kB / 1.287 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002447/0.3075, allocations: 28.88 kB / 1.287 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.3078, allocations: 138.3 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.3079, allocations: 89.61 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.3079, allocations: 8.312 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.3081, allocations: 81.77 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3081, allocations: 0 / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.3082, allocations: 4 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3082, allocations: 0 / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001987/0.3084, allocations: 51.95 kB / 1.288 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005338/0.3089, allocations: 260.3 kB / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.3091, allocations: 66.55 kB / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.3092, allocations: 40.83 kB / 1.288 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.3093, allocations: 7.984 kB / 1.288 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002239/0.3095, allocations: 99.34 kB / 1.288 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.3095, allocations: 0 / 1.288 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0005085/0.31, allocations: 169.5 kB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.31, allocations: 51.41 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.3102, allocations: 136.5 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.3102, allocations: 33.7 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.773e-05/0.3103, allocations: 100.5 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.3103, allocations: 23.81 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-05/0.3104, allocations: 29.7 kB / 1.289 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3105, allocations: 326.8 kB / 1.289 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.3106, allocations: 31.97 kB / 1.289 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.3107, allocations: 71 kB / 1.289 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002389/0.311, allocations: 109.4 kB / 1.289 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.311, allocations: 0 / 1.289 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002988/0.3113, allocations: 133.5 kB / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3113, allocations: 4 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3113, allocations: 8.062 kB / 1.289 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.3113, allocations: 4 kB / 1.289 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.3114, allocations: 23.97 kB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.3114, allocations: 0 / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.3116, allocations: 15.92 kB / 1.289 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.3116, allocations: 7.938 kB / 1.289 GB, free: 6.145 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.0001098/0.3117, allocations: 125.8 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.3117, allocations: 11.91 kB / 1.289 GB, free: 6 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.597e-05/0.3117, allocations: 20.7 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3117, allocations: 0 / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.3117, allocations: 0 / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3117, allocations: 0 / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005937/0.3123, allocations: 366 kB / 1.29 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3123, allocations: 0 / 1.29 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.827e-05/0.3124, allocations: 11.92 kB / 1.29 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.3124, allocations: 0 / 1.29 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.3124, allocations: 11.94 kB / 1.29 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3124, allocations: 0 / 1.29 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3124, allocations: 4 kB / 1.29 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003691/0.3128, allocations: 235.3 kB / 1.29 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.817e-05/0.3128, allocations: 11.84 kB / 1.29 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.3129, allocations: 4 kB / 1.29 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.313, allocations: 11.98 kB / 1.29 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/0.313, allocations: 11.92 kB / 1.29 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.313, allocations: 7.984 kB / 1.29 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.401e-05/0.3131, allocations: 111.2 kB / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3131, allocations: 0 / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003111/0.3134, allocations: 39.92 kB / 1.29 GB, free: 5.113 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.0003871/0.3138, allocations: 163.4 kB / 1.29 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003101/0.3141, allocations: 91.83 kB / 1.29 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3141, allocations: 0 / 1.29 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.3143, allocations: 43.95 kB / 1.29 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.3146, allocations: 18.02 kB / 1.29 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005318/0.3151, allocations: 245.5 kB / 1.291 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.267e-05/0.3152, allocations: 87.94 kB / 1.291 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/0.3152, allocations: 11.44 kB / 1.291 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.3152, allocations: 4 kB / 1.291 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of Templates: time 0.004608/0.3198, allocations: 1.922 MB / 1.293 GB, free: 2.504 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.532018778845668]