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.002001/0.002001, allocations: 78.73 kB / 19.18 MB, free: 2.516 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.00231/0.00231, allocations: 161.2 kB / 22.46 MB, free: 5.375 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.499/1.499, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 2.741/2.741, allocations: 359 MB / 0.6037 GB, free: 15.02 MB / 0.5762 GB " [Timeout remaining time 177] 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: 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: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 3.938 kB / 0.9509 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.673e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002806/0.002832, allocations: 1.525 MB / 0.9524 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001612/0.004445, allocations: 0.8106 MB / 0.9532 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.426e-05/0.004509, allocations: 7.938 kB / 0.9532 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.918e-05/0.004548, allocations: 7.922 kB / 0.9532 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.568e-05/0.004634, allocations: 11.81 kB / 0.9532 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000623/0.005257, allocations: 155.4 kB / 0.9534 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.005402, allocations: 95.62 kB / 0.9535 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.194e-05/0.005484, allocations: 8 kB / 0.9535 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.005656, allocations: 63.81 kB / 0.9535 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.786e-05/0.005734, allocations: 31.89 kB / 0.9536 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.00576, allocations: 12 kB / 0.9536 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002907/0.00605, allocations: 143.7 kB / 0.9537 GB, free: 8.73 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.306e-05/0.006083, allocations: 23.89 kB / 0.9537 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.929e-05/0.006133, allocations: 19.98 kB / 0.9538 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003177/0.00645, allocations: 195.4 kB / 0.954 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.006453, allocations: 0 / 0.954 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.02e-07/0.006454, allocations: 3.938 kB / 0.954 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.006463, allocations: 0 / 0.954 GB, free: 8.492 MB / 0.8575 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.0007797/0.007243, allocations: 409.1 kB / 0.9543 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.007275, allocations: 12.03 kB / 0.9544 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002442/0.007519, allocations: 24.88 kB / 0.9544 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.007758, allocations: 129.7 kB / 0.9545 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.007867, allocations: 89.67 kB / 0.9546 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.007884, allocations: 4.375 kB / 0.9546 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.008125, allocations: 78.14 kB / 0.9547 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.008135, allocations: 192 / 0.9547 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.008151, allocations: 4.125 kB / 0.9547 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.008158, allocations: 11.98 kB / 0.9547 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.008361, allocations: 47.95 kB / 0.9547 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004865/0.008848, allocations: 248.5 kB / 0.955 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.009077, allocations: 70.58 kB / 0.955 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.009193, allocations: 36.98 kB / 0.9551 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.009214, allocations: 11.92 kB / 0.9551 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.009435, allocations: 91.36 kB / 0.9552 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.009437, allocations: 0 / 0.9552 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0005245/0.009961, allocations: 169.5 kB / 0.9553 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.01001, allocations: 55.41 kB / 0.9554 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.01013, allocations: 139.6 kB / 0.9555 GB, free: 6.723 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.01016, allocations: 34.08 kB / 0.9556 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.642e-05/0.01022, allocations: 100.3 kB / 0.9556 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.01026, allocations: 23.8 kB / 0.9557 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.143e-05/0.01032, allocations: 33.7 kB / 0.9557 GB, free: 6.516 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.01046, allocations: 322.8 kB / 0.956 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.01057, allocations: 35.97 kB / 0.956 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.01071, allocations: 76.25 kB / 0.9561 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002444/0.01096, allocations: 105.1 kB / 0.9562 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01096, allocations: 0 / 0.9562 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003672/0.01133, allocations: 141.4 kB / 0.9564 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.01135, allocations: 4 kB / 0.9564 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.01135, allocations: 4.125 kB / 0.9564 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.01137, allocations: 7.984 kB / 0.9564 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.01149, allocations: 19.92 kB / 0.9564 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.0115, allocations: 4 kB / 0.9564 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.01162, allocations: 11.94 kB / 0.9564 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.01163, allocations: 12 kB / 0.9564 GB, free: 5.738 MB / 0.8575 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.0001104/0.01174, allocations: 124 kB / 0.9565 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/0.01179, allocations: 11.89 kB / 0.9565 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.837e-05/0.01182, allocations: 16.77 kB / 0.9566 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.01183, allocations: 4 kB / 0.9566 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.01183, allocations: 0 / 0.9566 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.01183, allocations: 0 / 0.9566 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006385/0.01247, allocations: 370 kB / 0.9569 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01247, allocations: 0 / 0.9569 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.907e-05/0.01255, allocations: 11.98 kB / 0.9569 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01256, allocations: 0 / 0.9569 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.01257, allocations: 4 kB / 0.9569 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01257, allocations: 4 kB / 0.9569 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01257, allocations: 0 / 0.9569 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003874/0.01296, allocations: 235.4 kB / 0.9572 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.741e-05/0.01298, allocations: 11.94 kB / 0.9572 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.013, allocations: 192 / 0.9572 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.01313, allocations: 11.98 kB / 0.9572 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.01318, allocations: 11.92 kB / 0.9572 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.0132, allocations: 11.92 kB / 0.9572 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.495e-05/0.01327, allocations: 109.5 kB / 0.9573 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6e-08/0.01327, allocations: 0 / 0.9573 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003231/0.0136, allocations: 47.86 kB / 0.9574 GB, free: 4.715 MB / 0.8575 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.0003916/0.01399, allocations: 163.6 kB / 0.9575 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003147/0.0143, allocations: 87.83 kB / 0.9576 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.0143, allocations: 0 / 0.9576 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.01444, allocations: 43.91 kB / 0.9576 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.01474, allocations: 15.98 kB / 0.9577 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004972/0.01524, allocations: 201.4 kB / 0.9578 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.002e-05/0.01532, allocations: 87.78 kB / 0.9579 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.803e-05/0.01536, allocations: 12.44 kB / 0.9579 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.377e-05/0.01541, allocations: 20.48 kB / 0.958 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of SimCode: time 4.1e-07/0.01541, allocations: 0 / 0.958 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of Templates: time 0.005452/0.02086, allocations: 1.879 MB / 0.9598 GB, free: 2.207 MB / 0.8575 GB " [Timeout remaining time 300] 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/jenkins/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: 8.031262133270502]