Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.001754/0.001755, allocations: 114.9 kB / 17.08 MB, free: 5.926 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.001868/0.001868, allocations: 193.2 kB / 20.03 MB, free: 3.004 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.439/1.439, allocations: 222.9 MB / 245.7 MB, free: 4.234 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.67/2.67, allocations: 437.1 MB / 0.7177 GB, free: 4.555 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.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 67.91 kB / 1.028 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3151, allocations: 151.6 MB / 1.176 GB, free: 5.961 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002508/0.3176, allocations: 1.219 MB / 1.177 GB, free: 4.723 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009059/0.3186, allocations: 450.9 kB / 1.177 GB, free: 4.281 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.985e-05/0.3186, allocations: 4 kB / 1.177 GB, free: 4.277 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.74e-05/0.3186, allocations: 3.938 kB / 1.177 GB, free: 4.273 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.459e-05/0.3187, allocations: 0 / 1.177 GB, free: 4.273 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005922/0.3193, allocations: 119.6 kB / 1.178 GB, free: 4.156 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.881e-05/0.3194, allocations: 15.98 kB / 1.178 GB, free: 4.141 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.6e-05/0.3194, allocations: 7.938 kB / 1.178 GB, free: 4.133 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.572e-05/0.3195, allocations: 15.92 kB / 1.178 GB, free: 4.117 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.452e-05/0.3195, allocations: 15.92 kB / 1.178 GB, free: 4.102 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.3195, allocations: 0 / 1.178 GB, free: 4.102 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002689/0.3198, allocations: 99.89 kB / 1.178 GB, free: 4.004 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.253e-05/0.3198, allocations: 11.98 kB / 1.178 GB, free: 3.992 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.3199, allocations: 7.938 kB / 1.178 GB, free: 3.984 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.3201, allocations: 107.6 kB / 1.178 GB, free: 3.879 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3201, allocations: 0 / 1.178 GB, free: 3.879 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3201, allocations: 0 / 1.178 GB, free: 3.879 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.3201, allocations: 0 / 1.178 GB, free: 3.879 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007693/0.3209, allocations: 384.9 kB / 1.178 GB, free: 3.445 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.3209, allocations: 12.03 kB / 1.178 GB, free: 3.434 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.321, allocations: 4.891 kB / 1.178 GB, free: 3.43 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.3211, allocations: 172.3 kB / 1.178 GB, free: 3.223 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.3212, allocations: 4.375 kB / 1.178 GB, free: 3.219 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.3212, allocations: 4.375 kB / 1.178 GB, free: 3.215 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.3213, allocations: 34.25 kB / 1.178 GB, free: 3.176 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3213, allocations: 192 / 1.178 GB, free: 3.176 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.3213, allocations: 15.88 kB / 1.178 GB, free: 3.16 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.3213, allocations: 4 kB / 1.178 GB, free: 3.156 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.78e-05/0.3214, allocations: 11.92 kB / 1.178 GB, free: 3.145 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002045/0.3216, allocations: 161.7 kB / 1.179 GB, free: 2.938 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.378e-05/0.3217, allocations: 30.56 kB / 1.179 GB, free: 2.898 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.252e-05/0.3217, allocations: 16.94 kB / 1.179 GB, free: 2.879 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.572e-06/0.3217, allocations: 0 / 1.179 GB, free: 2.879 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.3219, allocations: 59.41 kB / 1.179 GB, free: 2.809 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.3219, allocations: 0 / 1.179 GB, free: 2.809 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0002356/0.3221, allocations: 85.5 kB / 1.179 GB, free: 2.719 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.3222, allocations: 55.39 kB / 1.179 GB, free: 2.652 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.219e-05/0.3223, allocations: 105.8 kB / 1.179 GB, free: 2.539 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.3223, allocations: 25.7 kB / 1.179 GB, free: 2.508 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.724e-05/0.3224, allocations: 80.14 kB / 1.179 GB, free: 2.426 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.837e-05/0.3225, allocations: 15.91 kB / 1.179 GB, free: 2.41 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.982e-05/0.3225, allocations: 25.7 kB / 1.179 GB, free: 2.379 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.3227, allocations: 318.8 kB / 1.179 GB, free: 2.059 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.357e-05/0.3227, allocations: 7.984 kB / 1.179 GB, free: 2.051 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.636e-05/0.3228, allocations: 36.3 kB / 1.179 GB, free: 2 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.32e-05/0.3229, allocations: 64.16 kB / 1.179 GB, free: 1.922 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3229, allocations: 0 / 1.179 GB, free: 1.922 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001117/0.323, allocations: 69.62 kB / 1.18 GB, free: 1.848 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.323, allocations: 10.44 kB / 1.18 GB, free: 1.84 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.323, allocations: 0 / 1.18 GB, free: 1.84 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-05/0.323, allocations: 8.125 kB / 1.18 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.427e-05/0.3231, allocations: 15.92 kB / 1.18 GB, free: 1.816 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3231, allocations: 0 / 1.18 GB, free: 1.816 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.246e-05/0.3232, allocations: 11.95 kB / 1.18 GB, free: 1.805 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.3232, allocations: 0 / 1.18 GB, free: 1.805 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (8): * Single equations (assignments): 8 * 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.0001021/0.3233, allocations: 113.8 kB / 1.18 GB, free: 1.684 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.3233, allocations: 7.938 kB / 1.18 GB, free: 1.676 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.327e-05/0.3233, allocations: 3.562 kB / 1.18 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.3233, allocations: 0 / 1.18 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.3234, allocations: 4 kB / 1.18 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.3234, allocations: 0 / 1.18 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.3235, allocations: 170 kB / 1.18 GB, free: 1.449 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3235, allocations: 0 / 1.18 GB, free: 1.449 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.608e-05/0.3236, allocations: 3.938 kB / 1.18 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.3236, allocations: 7.938 kB / 1.18 GB, free: 1.438 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.3236, allocations: 7.938 kB / 1.18 GB, free: 1.43 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3236, allocations: 0 / 1.18 GB, free: 1.43 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3236, allocations: 0 / 1.18 GB, free: 1.43 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.3238, allocations: 97.06 kB / 1.18 GB, free: 1.316 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.763e-05/0.3238, allocations: 81.11 kB / 1.18 GB, free: 1.219 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.3238, allocations: 3.938 kB / 1.18 GB, free: 1.215 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.134e-05/0.3239, allocations: 0 / 1.18 GB, free: 1.215 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.611e-05/0.3239, allocations: 7.984 kB / 1.18 GB, free: 1.207 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.3239, allocations: 0 / 1.18 GB, free: 1.207 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.724e-05/0.324, allocations: 83.28 kB / 1.18 GB, free: 1.125 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.324, allocations: 0 / 1.18 GB, free: 1.125 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002556/0.3242, allocations: 35.92 kB / 1.18 GB, free: 1.09 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 (5): * Single equations (assignments): 3 * 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.0003952/0.3246, allocations: 159.3 kB / 1.18 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001306/0.3248, allocations: 35.92 kB / 1.18 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3248, allocations: 4 kB / 1.18 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.65e-05/0.3248, allocations: 15.94 kB / 1.18 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.325, allocations: 2.484 kB / 1.18 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002954/0.3253, allocations: 150.6 kB / 1.181 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.3256, allocations: 0.6768 MB / 1.181 GB, free: 0 / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.769e-05/0.3257, allocations: 11.55 kB / 1.181 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/0.3257, allocations: 3.938 kB / 1.181 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of Templates: time 0.003302/0.329, allocations: 1.284 MB / 1.182 GB, free: 14.7 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.729550356045365]