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.001671/0.001671, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00183/0.00183, allocations: 214.1 kB / 22.99 MB, free: 4.945 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.717/2.717, allocations: 476 MB / 0.7707 GB, free: 4.727 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.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: 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.002088/0.002088, allocations: 70.39 kB / 1.118 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3196, allocations: 170 MB / 1.284 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002505/0.3221, allocations: 1.226 MB / 1.285 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009072/0.323, allocations: 414.7 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.066e-05/0.323, allocations: 0 / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.368e-05/0.323, allocations: 0 / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.776e-05/0.3231, allocations: 4 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000492/0.3236, allocations: 111.6 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.721e-05/0.3236, allocations: 15.98 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.197e-05/0.3236, allocations: 0 / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.603e-05/0.3237, allocations: 15.88 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.64e-05/0.3237, allocations: 3.984 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.3237, allocations: 4 kB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002823/0.324, allocations: 135.7 kB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.324, allocations: 7.922 kB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/0.324, allocations: 12 kB / 1.286 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.3242, allocations: 99.69 kB / 1.286 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3242, allocations: 0 / 1.286 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3242, allocations: 0 / 1.286 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.3242, allocations: 0 / 1.286 GB, free: 9.906 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005055/0.3247, allocations: 299.9 kB / 1.286 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.3248, allocations: 12.03 kB / 1.286 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.313e-05/0.3248, allocations: 0.9375 kB / 1.286 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.3249, allocations: 118.4 kB / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.3249, allocations: 384 / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.3249, allocations: 4.375 kB / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.325, allocations: 42.25 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.3251, allocations: 4.125 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.3251, allocations: 3.938 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3251, allocations: 4 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.249e-05/0.3251, allocations: 11.97 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001368/0.3252, allocations: 101.3 kB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.676e-05/0.3253, allocations: 36.34 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.93e-05/0.3254, allocations: 8.859 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.487e-06/0.3254, allocations: 0 / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.3255, allocations: 67.44 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3255, allocations: 0 / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0001979/0.3257, allocations: 73.55 kB / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.3258, allocations: 51.41 kB / 1.287 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.109e-05/0.3259, allocations: 97.86 kB / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.3259, allocations: 29.7 kB / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.483e-05/0.3259, allocations: 88.12 kB / 1.287 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.3259, allocations: 3.953 kB / 1.287 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.326, allocations: 25.7 kB / 1.287 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3261, allocations: 318.8 kB / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.794e-05/0.3262, allocations: 8 kB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.095e-05/0.3262, allocations: 31.44 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.964e-05/0.3263, allocations: 51.36 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3263, allocations: 0 / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001135/0.3264, allocations: 69.58 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.3264, allocations: 4 kB / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.3264, allocations: 0 / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.3264, allocations: 15.97 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.036e-05/0.3265, allocations: 11.92 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.3265, allocations: 4 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.349e-05/0.3265, allocations: 0 / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.3265, allocations: 4 kB / 1.287 GB, free: 8.133 MB / 0.9825 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 8.502e-05/0.3266, allocations: 109.8 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.054e-05/0.3266, allocations: 4 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.261e-05/0.3267, allocations: 7.625 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.3267, allocations: 0 / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.3267, allocations: 0 / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3267, allocations: 7.938 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.3268, allocations: 117.2 kB / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3268, allocations: 0 / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.078e-05/0.3268, allocations: 0 / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3268, allocations: 432 / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.3268, allocations: 0 / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-06/0.3268, allocations: 11.88 kB / 1.288 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3268, allocations: 3.984 kB / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.327, allocations: 81.11 kB / 1.288 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-06/0.327, allocations: 4 kB / 1.288 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.327, allocations: 3.984 kB / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.369e-05/0.327, allocations: 11.94 kB / 1.288 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.366e-05/0.327, allocations: 4 kB / 1.288 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.327, allocations: 0 / 1.288 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.793e-05/0.3271, allocations: 83.28 kB / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3271, allocations: 0 / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002486/0.3273, allocations: 27.92 kB / 1.288 GB, free: 7.605 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: 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.0003634/0.3277, allocations: 165.5 kB / 1.288 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001154/0.3278, allocations: 31.92 kB / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.3278, allocations: 0 / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.161e-05/0.3278, allocations: 15.92 kB / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.328, allocations: 9.656 kB / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002674/0.3283, allocations: 126.7 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.484e-05/0.3283, allocations: 63.34 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.025e-05/0.3283, allocations: 11.44 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.3283, allocations: 3.938 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of Templates: time 0.003003/0.3313, allocations: 1.218 MB / 1.289 GB, free: 5.922 MB / 0.9825 GB " [Timeout remaining time 299] 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/jenkins1/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] Reference file matches [Calling sys.exit(0), Time elapsed: 11.37213176395744]