Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.002198/0.002198, allocations: 79.7 kB / 20.23 MB, free: 4.195 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.002582/0.002582, allocations: 157.3 kB / 23.55 MB, free: 0.8828 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.562/1.562, allocations: 177.1 MB / 203.9 MB, free: 5.574 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.932/2.932, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.371e-05/3.523e-05, allocations: 2.312 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002369/0.002404, allocations: 1.253 MB / 0.7876 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.003473, allocations: 486.9 kB / 0.788 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.302e-05/0.003496, allocations: 0 / 0.788 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.787e-05/0.003514, allocations: 3.938 kB / 0.788 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.938e-05/0.003553, allocations: 0.8438 kB / 0.788 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005926/0.004146, allocations: 128.4 kB / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.281e-05/0.004218, allocations: 23.91 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.573e-05/0.004254, allocations: 4.844 kB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.932e-05/0.004293, allocations: 11.98 kB / 0.7882 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.121e-05/0.004325, allocations: 7.984 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.00434, allocations: 1.438 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003177/0.004658, allocations: 155.6 kB / 0.7884 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.694e-05/0.004675, allocations: 7.938 kB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.004701, allocations: 7.047 kB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.004965, allocations: 123.7 kB / 0.7885 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.004967, allocations: 3.938 kB / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.71e-07/0.004968, allocations: 0 / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.004972, allocations: 0 / 0.7885 GB, free: 10.64 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.0005739/0.005546, allocations: 413.8 kB / 0.7889 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.005585, allocations: 8.031 kB / 0.7889 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.959e-05/0.005635, allocations: 4.938 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.005758, allocations: 113.7 kB / 0.789 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.005781, allocations: 4.375 kB / 0.789 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-06/0.005791, allocations: 384 / 0.789 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.005915, allocations: 46.83 kB / 0.7891 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.005924, allocations: 192 / 0.7891 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.005932, allocations: 1.531 kB / 0.7891 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.005939, allocations: 4.359 kB / 0.7891 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.271e-05/0.005981, allocations: 11.88 kB / 0.7891 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002555/0.006237, allocations: 117.1 kB / 0.7892 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.006348, allocations: 36.92 kB / 0.7892 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.577e-05/0.006394, allocations: 19.67 kB / 0.7892 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.006406, allocations: 0 / 0.7892 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001192/0.006525, allocations: 62.58 kB / 0.7893 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.006526, allocations: 0 / 0.7893 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0002434/0.00677, allocations: 73.61 kB / 0.7894 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.006819, allocations: 55.41 kB / 0.7894 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.006955, allocations: 171.5 kB / 0.7896 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.006973, allocations: 29.7 kB / 0.7896 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.017e-05/0.007053, allocations: 134.9 kB / 0.7897 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.007074, allocations: 7.906 kB / 0.7897 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.537e-05/0.007119, allocations: 27.38 kB / 0.7898 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002488/0.007368, allocations: 0.4906 MB / 0.7903 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.446e-05/0.007392, allocations: 8 kB / 0.7903 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.415e-05/0.007446, allocations: 42.75 kB / 0.7903 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.308e-05/0.00753, allocations: 59.2 kB / 0.7904 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.007531, allocations: 0.7188 kB / 0.7904 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001161/0.007648, allocations: 74.06 kB / 0.7904 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.00766, allocations: 5.594 kB / 0.7904 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.007664, allocations: 0 / 0.7904 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.00768, allocations: 4.25 kB / 0.7904 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.989e-05/0.00777, allocations: 11.98 kB / 0.7904 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.007783, allocations: 8.562 kB / 0.7905 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.724e-05/0.007811, allocations: 7.953 kB / 0.7905 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.007819, allocations: 0.7812 kB / 0.7905 GB, free: 8.387 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.0001241/0.007943, allocations: 169.2 kB / 0.7906 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.007958, allocations: 4 kB / 0.7906 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.007987, allocations: 8.578 kB / 0.7906 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.007988, allocations: 0.6875 kB / 0.7906 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.007991, allocations: 0 / 0.7906 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.007997, allocations: 5.312 kB / 0.7906 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.008117, allocations: 116.6 kB / 0.7908 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.008118, allocations: 0 / 0.7908 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.594e-05/0.008134, allocations: 3.984 kB / 0.7908 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.008135, allocations: 1.125 kB / 0.7908 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.008146, allocations: 4 kB / 0.7908 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.008147, allocations: 0 / 0.7908 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/0.00815, allocations: 4.703 kB / 0.7908 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.008321, allocations: 108.5 kB / 0.7909 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-06/0.008329, allocations: 4.625 kB / 0.7909 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.008341, allocations: 3.938 kB / 0.7909 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.076e-05/0.008362, allocations: 0.8438 kB / 0.7909 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.567e-05/0.008388, allocations: 7.938 kB / 0.7909 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.008399, allocations: 9.922 kB / 0.7909 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.396e-05/0.008473, allocations: 127.1 kB / 0.791 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008473, allocations: 0 / 0.791 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002528/0.008726, allocations: 35.92 kB / 0.7911 GB, free: 7.723 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.0004772/0.009203, allocations: 183.9 kB / 0.7912 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001274/0.00933, allocations: 35.61 kB / 0.7913 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.009332, allocations: 0 / 0.7913 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.053e-05/0.009382, allocations: 19.67 kB / 0.7913 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.009518, allocations: 5.875 kB / 0.7913 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.009822, allocations: 127.3 kB / 0.7914 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.307e-05/0.009885, allocations: 63.34 kB / 0.7915 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.151e-05/0.009907, allocations: 4.484 kB / 0.7915 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.094e-05/0.009928, allocations: 13.03 kB / 0.7915 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/0.009928, allocations: 0.5938 kB / 0.7915 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of Templates: time 0.004593/0.01452, allocations: 1.2 MB / 0.7927 GB, free: 6.062 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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,C,D,seed,t0,time,y [Calling sys.exit(0), Time elapsed: 8.099144017905928]