Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.001842/0.001842, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002384/0.002384, allocations: 161.3 kB / 23.54 MB, free: 0.8906 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.561/1.561, allocations: 177.1 MB / 203.9 MB, free: 5.25 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.734/2.734, allocations: 359 MB / 0.6048 GB, free: 10.96 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.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.321e-05/3.568e-05, allocations: 3 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.003661/0.003697, allocations: 1.24 MB / 0.7876 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.004926, allocations: 403.2 kB / 0.7879 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.415e-05/0.004951, allocations: 1 kB / 0.7879 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.464e-05/0.004975, allocations: 3.938 kB / 0.7879 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.605e-05/0.005021, allocations: 3.938 kB / 0.7879 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006719/0.005693, allocations: 116.7 kB / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.218e-05/0.005765, allocations: 23.91 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.082e-05/0.005796, allocations: 0.9062 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.517e-05/0.005841, allocations: 11.98 kB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.452e-05/0.005866, allocations: 0 / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.005882, allocations: 4.656 kB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003918/0.006274, allocations: 133.3 kB / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.22e-05/0.006296, allocations: 7.938 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.767e-05/0.006334, allocations: 7.984 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.006629, allocations: 111.7 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.006632, allocations: 0 / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.81e-07/0.006633, allocations: 3.5 kB / 0.7884 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.006637, allocations: 0 / 0.7884 GB, free: 10.8 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006588/0.007296, allocations: 307.8 kB / 0.7886 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.00734, allocations: 12.03 kB / 0.7887 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.126e-05/0.007391, allocations: 4.891 kB / 0.7887 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.00756, allocations: 109.7 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.007588, allocations: 384 / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.007604, allocations: 4.375 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.007744, allocations: 42.95 kB / 0.7888 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.007755, allocations: 192 / 0.7888 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.007765, allocations: 2.031 kB / 0.7888 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.007769, allocations: 384 / 0.7888 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.201e-05/0.007811, allocations: 7.938 kB / 0.7888 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001954/0.008007, allocations: 105.4 kB / 0.7889 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.008123, allocations: 26.52 kB / 0.7889 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.527e-05/0.008178, allocations: 18.12 kB / 0.789 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.008192, allocations: 0 / 0.789 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001919/0.008384, allocations: 55.94 kB / 0.789 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.008385, allocations: 0.8438 kB / 0.789 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0003229/0.008708, allocations: 73.56 kB / 0.7891 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003693/0.009077, allocations: 56.31 kB / 0.7891 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.00921, allocations: 105.8 kB / 0.7892 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.009239, allocations: 26.73 kB / 0.7893 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.02e-05/0.009309, allocations: 80.14 kB / 0.7893 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.009343, allocations: 15.89 kB / 0.7894 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.05e-05/0.009414, allocations: 23.05 kB / 0.7894 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002302/0.009644, allocations: 314.8 kB / 0.7897 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.089e-05/0.009675, allocations: 8 kB / 0.7897 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.234e-05/0.009747, allocations: 39.92 kB / 0.7897 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.757e-05/0.009845, allocations: 41.16 kB / 0.7898 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.009847, allocations: 0 / 0.7898 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001842/0.01003, allocations: 74.7 kB / 0.7898 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.01005, allocations: 18.61 kB / 0.7899 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.01006, allocations: 0 / 0.7899 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/0.01008, allocations: 7.938 kB / 0.7899 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.697e-05/0.01016, allocations: 5.625 kB / 0.7899 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.01017, allocations: 3.938 kB / 0.7899 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.14e-05/0.01021, allocations: 7.953 kB / 0.7899 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.01023, allocations: 4 kB / 0.7899 GB, free: 9.035 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.000132/0.01036, allocations: 110.6 kB / 0.79 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.01038, allocations: 8.672 kB / 0.79 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.038e-05/0.01041, allocations: 3.688 kB / 0.79 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.01041, allocations: 0.5 kB / 0.79 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.01042, allocations: 0.6875 kB / 0.79 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.01042, allocations: 7.938 kB / 0.79 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.01058, allocations: 106.3 kB / 0.7901 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.01058, allocations: 3.984 kB / 0.7901 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.437e-05/0.0106, allocations: 3.938 kB / 0.7901 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.0106, allocations: 0.5312 kB / 0.7901 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.01061, allocations: 5.375 kB / 0.7901 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01061, allocations: 0 / 0.7901 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.01062, allocations: 3.984 kB / 0.7901 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/0.01083, allocations: 93 kB / 0.7902 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-06/0.01084, allocations: 0.8125 kB / 0.7902 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.01086, allocations: 0 / 0.7902 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.857e-05/0.01089, allocations: 0.9375 kB / 0.7902 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.01092, allocations: 7.984 kB / 0.7902 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.01093, allocations: 0 / 0.7902 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.653e-05/0.011, allocations: 88.44 kB / 0.7903 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.011, allocations: 0 / 0.7903 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004388/0.01144, allocations: 35.86 kB / 0.7903 GB, free: 8.508 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: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000543/0.01198, allocations: 188.8 kB / 0.7905 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001428/0.01213, allocations: 23.98 kB / 0.7905 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01213, allocations: 3 kB / 0.7906 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.401e-05/0.01218, allocations: 15.94 kB / 0.7906 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.0124, allocations: 0 / 0.7906 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003275/0.01272, allocations: 120.6 kB / 0.7907 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.695e-05/0.01281, allocations: 59.36 kB / 0.7907 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.533e-05/0.01284, allocations: 3.984 kB / 0.7907 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.663e-05/0.01286, allocations: 13.88 kB / 0.7908 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of SimCode: time 5.72e-07/0.01286, allocations: 0 / 0.7908 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of Templates: time 0.005006/0.01787, allocations: 1.068 MB / 0.7918 GB, free: 7.016 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:A,B,seed,t0,time,y [Calling sys.exit(0), Time elapsed: 7.825277818017639]