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.001521/0.001521, allocations: 84.39 kB / 20.23 MB, free: 4.176 MB / 18.57 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.001591/0.001591, allocations: 161.3 kB / 23.55 MB, free: 0.8633 MB / 18.57 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.48/1.48, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 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.767/2.767, allocations: 359 MB / 0.6048 GB, free: 10.97 MB / 0.573 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.674e-06/1.674e-06, allocations: 0.7656 kB / 0.7863 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.894e-05, allocations: 2.312 kB / 0.7863 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002856/0.002885, allocations: 1.529 MB / 0.7878 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001757/0.004642, allocations: 0.8131 MB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.444e-05/0.004696, allocations: 0 / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.111e-05/0.004737, allocations: 7.922 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.867e-05/0.004836, allocations: 17.12 kB / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006628/0.005499, allocations: 151.3 kB / 0.7888 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000166/0.005665, allocations: 96.91 kB / 0.7889 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.938e-05/0.005744, allocations: 4 kB / 0.7889 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.005929, allocations: 67.75 kB / 0.789 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.014e-05/0.006009, allocations: 36.77 kB / 0.789 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.006033, allocations: 8 kB / 0.789 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003106/0.006344, allocations: 140.6 kB / 0.7891 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.614e-05/0.00639, allocations: 23.91 kB / 0.7892 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.345e-05/0.006454, allocations: 35.84 kB / 0.7892 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003302/0.006784, allocations: 177.9 kB / 0.7894 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.006787, allocations: 0 / 0.7894 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.91e-07/0.006788, allocations: 0 / 0.7894 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.006794, allocations: 3.984 kB / 0.7894 GB, free: 9.781 MB / 0.7448 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.0008564/0.007651, allocations: 406.9 kB / 0.7897 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.007684, allocations: 8.031 kB / 0.7898 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002714/0.007955, allocations: 32.88 kB / 0.7898 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.008209, allocations: 135.6 kB / 0.7899 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/0.008345, allocations: 89.67 kB / 0.79 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.008365, allocations: 9.078 kB / 0.79 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.008596, allocations: 74.69 kB / 0.7901 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.008604, allocations: 1.844 kB / 0.7901 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.008622, allocations: 8.109 kB / 0.7901 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.008628, allocations: 7.938 kB / 0.7901 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002183/0.008847, allocations: 44.56 kB / 0.7901 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005468/0.009394, allocations: 245.3 kB / 0.7904 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.00963, allocations: 67.73 kB / 0.7904 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.009757, allocations: 38.2 kB / 0.7905 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.00978, allocations: 3.938 kB / 0.7905 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002501/0.01003, allocations: 105.2 kB / 0.7906 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.01003, allocations: 0 / 0.7906 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0005877/0.01062, allocations: 178.7 kB / 0.7907 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.01067, allocations: 55.34 kB / 0.7908 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.01082, allocations: 140 kB / 0.7909 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.01085, allocations: 31.02 kB / 0.791 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.327e-05/0.01092, allocations: 92.38 kB / 0.7911 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.01096, allocations: 23.8 kB / 0.7911 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.674e-05/0.01102, allocations: 35.36 kB / 0.7911 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.01121, allocations: 318.8 kB / 0.7914 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.01134, allocations: 35.97 kB / 0.7914 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.01149, allocations: 74.81 kB / 0.7915 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002689/0.01176, allocations: 105 kB / 0.7916 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01176, allocations: 0.5 kB / 0.7916 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003719/0.01213, allocations: 155.8 kB / 0.7918 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.01216, allocations: 8 kB / 0.7918 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.01217, allocations: 0 / 0.7918 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.01219, allocations: 6.594 kB / 0.7918 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.01231, allocations: 15.98 kB / 0.7918 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.01231, allocations: 0 / 0.7918 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.01243, allocations: 15.98 kB / 0.7918 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.01245, allocations: 4 kB / 0.7918 GB, free: 7.047 MB / 0.7448 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.0001238/0.01257, allocations: 130.2 kB / 0.7919 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.097e-05/0.0126, allocations: 12.73 kB / 0.792 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/0.01264, allocations: 16.77 kB / 0.792 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.01264, allocations: 0.8438 kB / 0.792 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.01264, allocations: 0 / 0.792 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.01264, allocations: 0 / 0.792 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007313/0.01338, allocations: 371.3 kB / 0.7923 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.01338, allocations: 0.8438 kB / 0.7923 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.707e-05/0.01347, allocations: 15.92 kB / 0.7923 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.01347, allocations: 4.656 kB / 0.7923 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.01348, allocations: 4 kB / 0.7923 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01349, allocations: 2.969 kB / 0.7924 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.01349, allocations: 4 kB / 0.7924 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004345/0.01392, allocations: 235.3 kB / 0.7926 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.581e-05/0.01394, allocations: 3.953 kB / 0.7926 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.01396, allocations: 4 kB / 0.7926 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.01412, allocations: 13.92 kB / 0.7926 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.919e-05/0.01418, allocations: 11.97 kB / 0.7926 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.0142, allocations: 4 kB / 0.7926 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.813e-05/0.01429, allocations: 103.3 kB / 0.7927 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01429, allocations: 0 / 0.7927 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003259/0.01462, allocations: 44.83 kB / 0.7928 GB, free: 6.035 MB / 0.7448 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.0004547/0.01507, allocations: 175.9 kB / 0.7929 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003587/0.01543, allocations: 101 kB / 0.793 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01543, allocations: 0 / 0.793 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.01558, allocations: 41.88 kB / 0.7931 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.01591, allocations: 19.92 kB / 0.7931 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000587/0.01649, allocations: 209.8 kB / 0.7933 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.785e-05/0.01659, allocations: 84.41 kB / 0.7934 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.491e-05/0.01665, allocations: 9.531 kB / 0.7934 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.301e-05/0.0167, allocations: 20.5 kB / 0.7934 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of SimCode: time 3.31e-07/0.0167, allocations: 0 / 0.7934 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of Templates: time 0.005693/0.02239, allocations: 1.879 MB / 0.7952 GB, free: 3.504 MB / 0.7448 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: 7.787652013939805]