Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.001902/0.001902, allocations: 79.73 kB / 19.76 MB, free: 2.031 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.00261/0.00261, allocations: 157.6 kB / 23.01 MB, free: 4.941 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.552/1.552, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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.7/2.7, allocations: 359.1 MB / 0.6044 GB, free: 14.84 MB / 0.5762 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.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D") [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.002238/0.002238, allocations: 67.91 kB / 0.9515 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3365, allocations: 169.9 MB / 1.117 GB, free: 2.551 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002703/0.3392, allocations: 1.231 MB / 1.119 GB, free: 1.312 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.3403, allocations: 434.6 kB / 1.119 GB, free: 0.8867 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.692e-05/0.3403, allocations: 0 / 1.119 GB, free: 0.8867 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.22e-05/0.3403, allocations: 8 kB / 1.119 GB, free: 0.8789 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.976e-05/0.3404, allocations: 3.938 kB / 1.119 GB, free: 0.875 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006576/0.341, allocations: 119.6 kB / 1.119 GB, free: 0.7578 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.511e-05/0.3411, allocations: 11.94 kB / 1.119 GB, free: 0.7461 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.548e-05/0.3411, allocations: 3.984 kB / 1.119 GB, free: 0.7422 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.54e-05/0.3412, allocations: 11.98 kB / 1.119 GB, free: 0.7305 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.578e-05/0.3412, allocations: 15.86 kB / 1.119 GB, free: 0.7148 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.3412, allocations: 0 / 1.119 GB, free: 0.7148 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003349/0.3416, allocations: 135.8 kB / 1.119 GB, free: 0.582 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.3416, allocations: 7.984 kB / 1.119 GB, free: 0.5742 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.23e-05/0.3416, allocations: 15.92 kB / 1.119 GB, free: 0.5586 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.3418, allocations: 107.6 kB / 1.119 GB, free: 464 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3418, allocations: 0 / 1.119 GB, free: 464 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3418, allocations: 0 / 1.119 GB, free: 464 kB / 1.061 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.3418, allocations: 0 / 1.119 GB, free: 464 kB / 1.061 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.0005123/0.3424, allocations: 303.8 kB / 1.12 GB, free: 120 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.3424, allocations: 12.03 kB / 1.12 GB, free: 108 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.328e-05/0.3424, allocations: 0.9375 kB / 1.12 GB, free: 108 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.3426, allocations: 106.5 kB / 1.12 GB, free: 15.98 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.3426, allocations: 8.375 kB / 1.12 GB, free: 15.97 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.3426, allocations: 4.375 kB / 1.12 GB, free: 15.96 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.3427, allocations: 34.25 kB / 1.12 GB, free: 15.93 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.3427, allocations: 192 / 1.12 GB, free: 15.93 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.3427, allocations: 7.922 kB / 1.12 GB, free: 15.92 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.3427, allocations: 0 / 1.12 GB, free: 15.92 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.282e-05/0.3428, allocations: 7.938 kB / 1.12 GB, free: 15.91 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001472/0.3429, allocations: 109.3 kB / 1.12 GB, free: 15.77 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 8.801e-05/0.343, allocations: 26.58 kB / 1.12 GB, free: 15.74 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.067e-05/0.343, allocations: 8.859 kB / 1.12 GB, free: 15.73 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.343, allocations: 8.078 kB / 1.12 GB, free: 15.72 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.3432, allocations: 63.34 kB / 1.12 GB, free: 15.64 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.3432, allocations: 0 / 1.12 GB, free: 15.64 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0002433/0.3434, allocations: 73.61 kB / 1.12 GB, free: 15.57 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.3435, allocations: 55.34 kB / 1.12 GB, free: 15.5 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.3436, allocations: 106 kB / 1.12 GB, free: 15.39 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.3436, allocations: 29.7 kB / 1.12 GB, free: 15.35 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.3437, allocations: 80.14 kB / 1.12 GB, free: 15.27 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.3437, allocations: 11.89 kB / 1.12 GB, free: 15.26 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.901e-05/0.3437, allocations: 21.72 kB / 1.12 GB, free: 15.23 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.3439, allocations: 318.8 kB / 1.121 GB, free: 14.91 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.585e-05/0.3439, allocations: 8 kB / 1.121 GB, free: 14.9 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.32e-05/0.344, allocations: 39.34 kB / 1.121 GB, free: 14.85 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.102e-05/0.3441, allocations: 43.44 kB / 1.121 GB, free: 14.8 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3441, allocations: 0 / 1.121 GB, free: 14.8 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001305/0.3442, allocations: 73.52 kB / 1.121 GB, free: 14.72 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.3442, allocations: 4 kB / 1.121 GB, free: 14.71 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3442, allocations: 4.094 kB / 1.121 GB, free: 14.71 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.3442, allocations: 11.92 kB / 1.121 GB, free: 14.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.27e-05/0.3443, allocations: 7.938 kB / 1.121 GB, free: 14.69 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.3443, allocations: 4 kB / 1.121 GB, free: 14.69 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.457e-05/0.3443, allocations: 0 / 1.121 GB, free: 14.69 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.3443, allocations: 8 kB / 1.121 GB, free: 14.68 MB / 1.076 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.826e-05/0.3444, allocations: 117.8 kB / 1.121 GB, free: 14.55 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/0.3445, allocations: 3.953 kB / 1.121 GB, free: 14.55 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.281e-05/0.3445, allocations: 11.61 kB / 1.121 GB, free: 14.54 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3445, allocations: 0 / 1.121 GB, free: 14.54 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.3445, allocations: 8 kB / 1.121 GB, free: 14.53 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3445, allocations: 0 / 1.121 GB, free: 14.53 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.3446, allocations: 101.3 kB / 1.121 GB, free: 14.4 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3446, allocations: 0 / 1.121 GB, free: 14.4 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.253e-05/0.3446, allocations: 0 / 1.121 GB, free: 14.4 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.3446, allocations: 3.984 kB / 1.121 GB, free: 14.39 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/0.3446, allocations: 4 kB / 1.121 GB, free: 14.39 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.3446, allocations: 3.938 kB / 1.121 GB, free: 14.39 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3447, allocations: 0 / 1.121 GB, free: 14.39 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.3448, allocations: 81.11 kB / 1.121 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-06/0.3448, allocations: 4 kB / 1.121 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.3448, allocations: 4 kB / 1.121 GB, free: 14.28 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.567e-05/0.3448, allocations: 15.81 kB / 1.121 GB, free: 14.27 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.3449, allocations: 4 kB / 1.121 GB, free: 14.26 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.3449, allocations: 0 / 1.121 GB, free: 14.26 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.871e-05/0.3449, allocations: 83.27 kB / 1.121 GB, free: 14.18 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/0.3449, allocations: 0 / 1.121 GB, free: 14.18 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002636/0.3452, allocations: 35.88 kB / 1.121 GB, free: 14.14 MB / 1.076 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.0004003/0.3456, allocations: 174.2 kB / 1.122 GB, free: 13.98 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001221/0.3457, allocations: 27.92 kB / 1.122 GB, free: 13.96 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3457, allocations: 0 / 1.122 GB, free: 13.96 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.817e-05/0.3458, allocations: 12 kB / 1.122 GB, free: 13.95 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.3459, allocations: 4 kB / 1.122 GB, free: 13.94 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002771/0.3462, allocations: 116.7 kB / 1.122 GB, free: 13.8 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.693e-05/0.3462, allocations: 63.34 kB / 1.122 GB, free: 13.72 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.01e-05/0.3462, allocations: 4.188 kB / 1.122 GB, free: 13.71 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/0.3463, allocations: 16.48 kB / 1.122 GB, free: 13.7 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/0.3463, allocations: 0 / 1.122 GB, free: 13.7 MB / 1.076 GB Notification: Performance of Templates: time 0.004121/0.3504, allocations: 1.089 MB / 1.123 GB, free: 12.61 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.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: 8.729495242936537]