Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 112.1 kB / 17.08 MB, free: 5.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 192.7 kB / 20.03 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.756/2.756, allocations: 437.1 MB / 0.7177 GB, free: 4.578 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 72.02 kB / 1.028 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3142, allocations: 151.6 MB / 1.176 GB, free: 5.941 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002385/0.3166, allocations: 1.202 MB / 1.177 GB, free: 4.723 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000918/0.3175, allocations: 430.9 kB / 1.177 GB, free: 4.301 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.396e-05/0.3176, allocations: 0 / 1.177 GB, free: 4.301 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.476e-05/0.3176, allocations: 0 / 1.177 GB, free: 4.301 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.33e-05/0.3176, allocations: 7.938 kB / 1.177 GB, free: 4.293 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005234/0.3182, allocations: 103.7 kB / 1.178 GB, free: 4.191 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.25e-05/0.3183, allocations: 23.91 kB / 1.178 GB, free: 4.168 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/0.3183, allocations: 0 / 1.178 GB, free: 4.168 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.545e-05/0.3183, allocations: 11.94 kB / 1.178 GB, free: 4.156 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.993e-05/0.3184, allocations: 7.984 kB / 1.178 GB, free: 4.148 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.3184, allocations: 0 / 1.178 GB, free: 4.148 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000216/0.3186, allocations: 95.91 kB / 1.178 GB, free: 4.055 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.001e-05/0.3186, allocations: 7.984 kB / 1.178 GB, free: 4.047 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.965e-05/0.3187, allocations: 7.938 kB / 1.178 GB, free: 4.039 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.3189, allocations: 103.6 kB / 1.178 GB, free: 3.938 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3189, allocations: 3.984 kB / 1.178 GB, free: 3.934 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3189, allocations: 0 / 1.178 GB, free: 3.934 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.3189, allocations: 0 / 1.178 GB, free: 3.934 MB / 0.92 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.0005333/0.3194, allocations: 377 kB / 1.178 GB, free: 3.508 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.3195, allocations: 8.031 kB / 1.178 GB, free: 3.5 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.817e-05/0.3195, allocations: 8.922 kB / 1.178 GB, free: 3.492 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.3197, allocations: 168.3 kB / 1.178 GB, free: 3.289 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.3197, allocations: 4.375 kB / 1.178 GB, free: 3.285 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.3197, allocations: 8.312 kB / 1.178 GB, free: 3.277 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.3199, allocations: 38.23 kB / 1.178 GB, free: 3.234 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.3199, allocations: 192 / 1.178 GB, free: 3.234 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.3199, allocations: 3.938 kB / 1.178 GB, free: 3.23 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-06/0.3199, allocations: 0 / 1.178 GB, free: 3.23 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.599e-05/0.3199, allocations: 15.92 kB / 1.178 GB, free: 3.215 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001875/0.3201, allocations: 153.7 kB / 1.179 GB, free: 3.016 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.82e-05/0.3202, allocations: 34.61 kB / 1.179 GB, free: 2.973 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.471e-05/0.3203, allocations: 12.86 kB / 1.179 GB, free: 2.957 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.332e-06/0.3203, allocations: 0 / 1.179 GB, free: 2.957 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.3205, allocations: 55.48 kB / 1.179 GB, free: 2.891 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.3205, allocations: 3.938 kB / 1.179 GB, free: 2.887 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.00023/0.3207, allocations: 73.55 kB / 1.179 GB, free: 2.809 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.3208, allocations: 55.41 kB / 1.179 GB, free: 2.742 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.3209, allocations: 105.8 kB / 1.179 GB, free: 2.629 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.3209, allocations: 25.7 kB / 1.179 GB, free: 2.598 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.758e-05/0.321, allocations: 88.09 kB / 1.179 GB, free: 2.508 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.321, allocations: 3.953 kB / 1.179 GB, free: 2.504 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.321, allocations: 25.7 kB / 1.179 GB, free: 2.473 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.3212, allocations: 310.8 kB / 1.179 GB, free: 2.16 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.224e-05/0.3212, allocations: 8 kB / 1.179 GB, free: 2.152 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.485e-05/0.3213, allocations: 39.42 kB / 1.179 GB, free: 2.102 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.39e-05/0.3213, allocations: 39.38 kB / 1.179 GB, free: 2.051 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.3213, allocations: 0 / 1.179 GB, free: 2.051 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001055/0.3215, allocations: 77.64 kB / 1.179 GB, free: 1.969 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3215, allocations: 15.94 kB / 1.179 GB, free: 1.953 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.3215, allocations: 0 / 1.179 GB, free: 1.953 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.3215, allocations: 0 / 1.179 GB, free: 1.953 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.307e-05/0.3216, allocations: 12.42 kB / 1.179 GB, free: 1.941 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.3216, allocations: 0 / 1.179 GB, free: 1.941 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.887e-05/0.3216, allocations: 7.953 kB / 1.179 GB, free: 1.934 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.3217, allocations: 0 / 1.179 GB, free: 1.934 MB / 0.92 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 9.673e-05/0.3218, allocations: 121.8 kB / 1.18 GB, free: 1.805 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.3218, allocations: 3.938 kB / 1.18 GB, free: 1.801 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.374e-05/0.3218, allocations: 7.5 kB / 1.18 GB, free: 1.789 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.3218, allocations: 11.92 kB / 1.18 GB, free: 1.777 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3218, allocations: 0 / 1.18 GB, free: 1.777 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3218, allocations: 0 / 1.18 GB, free: 1.777 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.322, allocations: 157.6 kB / 1.18 GB, free: 1.574 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.322, allocations: 0 / 1.18 GB, free: 1.574 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.109e-05/0.322, allocations: 0 / 1.18 GB, free: 1.574 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.322, allocations: 7.938 kB / 1.18 GB, free: 1.566 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.322, allocations: 3.984 kB / 1.18 GB, free: 1.562 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3221, allocations: 0 / 1.18 GB, free: 1.562 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3221, allocations: 4 kB / 1.18 GB, free: 1.559 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.3222, allocations: 77.12 kB / 1.18 GB, free: 1.465 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.101e-05/0.3223, allocations: 89.05 kB / 1.18 GB, free: 1.359 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.3223, allocations: 3.938 kB / 1.18 GB, free: 1.355 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.896e-05/0.3223, allocations: 0 / 1.18 GB, free: 1.355 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.864e-05/0.3223, allocations: 0 / 1.18 GB, free: 1.355 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.852e-06/0.3223, allocations: 7.938 kB / 1.18 GB, free: 1.348 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.614e-05/0.3224, allocations: 87.27 kB / 1.18 GB, free: 1.262 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3224, allocations: 4 kB / 1.18 GB, free: 1.258 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000243/0.3226, allocations: 27.88 kB / 1.18 GB, free: 1.23 MB / 0.92 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.0003545/0.323, allocations: 161.3 kB / 1.18 GB, free: 1.074 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001092/0.3231, allocations: 32.11 kB / 1.18 GB, free: 1.043 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3231, allocations: 4.188 kB / 1.18 GB, free: 1.039 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.202e-05/0.3232, allocations: 16.08 kB / 1.18 GB, free: 1.023 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/0.3233, allocations: 96 / 1.18 GB, free: 1.023 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002968/0.3236, allocations: 138.6 kB / 1.18 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.324, allocations: 0.6768 MB / 1.181 GB, free: 156 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.731e-05/0.3241, allocations: 7.438 kB / 1.181 GB, free: 148 kB / 0.92 GB Notification: Performance of SimCode: time 2.6e-07/0.3241, allocations: 7.938 kB / 1.181 GB, free: 140 kB / 0.92 GB Notification: Performance of Templates: time 0.003117/0.3272, allocations: 1.206 MB / 1.182 GB, free: 14.93 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.852165936958045]