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.002011/0.002011, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.002514/0.002514, allocations: 165.3 kB / 23.55 MB, free: 0.8633 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.533/1.533, allocations: 177.1 MB / 203.9 MB, free: 5.594 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.71/2.71, allocations: 359 MB / 0.6048 GB, free: 10.94 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.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: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0.7656 kB / 0.7863 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.712e-05/2.883e-05, allocations: 10.19 kB / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002558/0.002587, allocations: 1.246 MB / 0.7875 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.003637, allocations: 440.3 kB / 0.788 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.608e-05/0.003663, allocations: 0 / 0.788 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.282e-05/0.003686, allocations: 3.938 kB / 0.788 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.292e-05/0.003729, allocations: 5.562 kB / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006433/0.004372, allocations: 115.5 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.781e-05/0.00444, allocations: 19.92 kB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.084e-05/0.00447, allocations: 5.219 kB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.632e-05/0.004507, allocations: 7.984 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.236e-05/0.004539, allocations: 11.97 kB / 0.7881 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.004553, allocations: 0.6875 kB / 0.7881 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003385/0.004891, allocations: 143.6 kB / 0.7883 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.842e-05/0.00491, allocations: 12.83 kB / 0.7883 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.867e-05/0.004938, allocations: 0 / 0.7883 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.005203, allocations: 116.4 kB / 0.7884 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.005205, allocations: 0 / 0.7884 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.51e-07/0.005206, allocations: 1.594 kB / 0.7884 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.00521, allocations: 0 / 0.7884 GB, free: 10.76 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.0005776/0.005787, allocations: 303.8 kB / 0.7887 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.333e-05/0.005851, allocations: 12.03 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.035e-05/0.005911, allocations: 8.328 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.006075, allocations: 109.7 kB / 0.7888 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.776e-05/0.006113, allocations: 8.359 kB / 0.7888 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.006131, allocations: 4.375 kB / 0.7888 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.006275, allocations: 34.25 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.006285, allocations: 4.125 kB / 0.7889 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.006297, allocations: 384 / 0.7889 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.006307, allocations: 4.359 kB / 0.7889 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.641e-05/0.006353, allocations: 7.938 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002091/0.006562, allocations: 106 kB / 0.789 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.006695, allocations: 30.61 kB / 0.789 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.038e-05/0.006755, allocations: 10.52 kB / 0.789 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.006769, allocations: 0 / 0.789 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002029/0.006972, allocations: 59.44 kB / 0.7891 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.006973, allocations: 1 kB / 0.7891 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0003287/0.007302, allocations: 73.62 kB / 0.7891 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/0.00737, allocations: 60.34 kB / 0.7892 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.007526, allocations: 101.8 kB / 0.7893 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.007561, allocations: 29.7 kB / 0.7893 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.051e-05/0.007631, allocations: 85.47 kB / 0.7894 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.796e-05/0.007659, allocations: 7.953 kB / 0.7894 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.965e-05/0.007729, allocations: 25.7 kB / 0.7894 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002265/0.007955, allocations: 315.8 kB / 0.7897 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.443e-05/0.00799, allocations: 11.92 kB / 0.7897 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.567e-05/0.008055, allocations: 35.38 kB / 0.7898 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.008163, allocations: 45.44 kB / 0.7898 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.008169, allocations: 3.984 kB / 0.7898 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001828/0.008352, allocations: 67.16 kB / 0.7899 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.008375, allocations: 8 kB / 0.7899 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.00838, allocations: 0 / 0.7899 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.008402, allocations: 0.5312 kB / 0.7899 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.305e-05/0.008485, allocations: 8 kB / 0.7899 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.008498, allocations: 8.5 kB / 0.7899 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.262e-05/0.008561, allocations: 12.48 kB / 0.7899 GB, free: 9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.008571, allocations: 0 / 0.7899 GB, free: 9 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.0001327/0.008704, allocations: 114.6 kB / 0.79 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.008727, allocations: 4.906 kB / 0.79 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.234e-05/0.00876, allocations: 7.688 kB / 0.79 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.008762, allocations: 0.5312 kB / 0.79 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.008766, allocations: 0 / 0.79 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.008775, allocations: 9.734 kB / 0.7901 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.008941, allocations: 109.2 kB / 0.7902 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.008943, allocations: 0 / 0.7902 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.559e-05/0.008958, allocations: 0 / 0.7902 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.008961, allocations: 1.281 kB / 0.7902 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.008969, allocations: 0 / 0.7902 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.008971, allocations: 4 kB / 0.7902 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.008972, allocations: 0.625 kB / 0.7902 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.009205, allocations: 100.9 kB / 0.7903 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.187e-05/0.009217, allocations: 4.75 kB / 0.7903 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.009235, allocations: 0 / 0.7903 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.122e-05/0.009266, allocations: 0.8125 kB / 0.7903 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.009303, allocations: 7.984 kB / 0.7903 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.00931, allocations: 0.9375 kB / 0.7903 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.131e-05/0.009392, allocations: 83.22 kB / 0.7904 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.009392, allocations: 0 / 0.7904 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004735/0.009865, allocations: 37.14 kB / 0.7904 GB, free: 8.469 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.0005878/0.01045, allocations: 173.5 kB / 0.7906 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001467/0.0106, allocations: 31.92 kB / 0.7906 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.0106, allocations: 0 / 0.7906 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.2e-05/0.01065, allocations: 7.984 kB / 0.7906 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.0109, allocations: 17.38 kB / 0.7906 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003661/0.01127, allocations: 112.6 kB / 0.7907 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.711e-05/0.01137, allocations: 63.34 kB / 0.7908 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.704e-05/0.01139, allocations: 4 kB / 0.7908 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.598e-05/0.01142, allocations: 8.5 kB / 0.7908 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.01142, allocations: 0 / 0.7908 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of Templates: time 0.005997/0.01742, allocations: 1.126 MB / 0.7919 GB, free: 6.926 MB / 0.7448 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 -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/jenkins/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: 7.758563195005991]