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.0009994/0.0009994, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.000979/0.000979, allocations: 169 kB / 23.82 MB, free: 0.7422 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.07/1.07, allocations: 177.1 MB / 204.2 MB, free: 5.246 MB / 186.7 MB " [Timeout remaining time 179] 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 1.728/1.728, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] 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.553e-06/1.553e-06, allocations: 3.938 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.633e-05/2.788e-05, allocations: 3.406 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.005303/0.005331, allocations: 1.271 MB / 0.7883 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.00639, allocations: 494.9 kB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.311e-05/0.006434, allocations: 0 / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.307e-05/0.006467, allocations: 3.938 kB / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.223e-05/0.006519, allocations: 0 / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003849/0.01037, allocations: 128.9 kB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.01047, allocations: 19.92 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.122e-05/0.01053, allocations: 7.938 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.05e-05/0.01058, allocations: 17.06 kB / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.577e-05/0.01062, allocations: 4 kB / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.01064, allocations: 0 / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003893/0.01103, allocations: 148.7 kB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.362e-05/0.01105, allocations: 7.984 kB / 0.7891 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.549e-05/0.01109, allocations: 9.484 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.01136, allocations: 123.7 kB / 0.7892 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.01137, allocations: 0 / 0.7892 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.713e-06/0.01137, allocations: 0 / 0.7892 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.01138, allocations: 0 / 0.7892 GB, free: 10.31 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.0005596/0.01194, allocations: 419.8 kB / 0.7896 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.01198, allocations: 8.031 kB / 0.7896 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.01203, allocations: 8.938 kB / 0.7896 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.616e-05/0.01213, allocations: 112.6 kB / 0.7897 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.01215, allocations: 10.69 kB / 0.7898 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.01216, allocations: 384 / 0.7898 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.0123, allocations: 50.95 kB / 0.7898 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.01231, allocations: 192 / 0.7898 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.01232, allocations: 384 / 0.7898 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.01233, allocations: 384 / 0.7898 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.212e-05/0.01235, allocations: 15.92 kB / 0.7898 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001433/0.01249, allocations: 117.3 kB / 0.7899 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.491e-05/0.01259, allocations: 40.64 kB / 0.79 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.814e-05/0.01261, allocations: 11.69 kB / 0.79 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/0.01262, allocations: 96 / 0.79 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001079/0.01273, allocations: 65.8 kB / 0.79 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.01273, allocations: 0 / 0.79 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0002008/0.01293, allocations: 66.45 kB / 0.7901 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.01297, allocations: 59.34 kB / 0.7902 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.202e-05/0.01307, allocations: 167.4 kB / 0.7903 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.01308, allocations: 25.7 kB / 0.7903 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/0.01313, allocations: 138.8 kB / 0.7905 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.01315, allocations: 3.953 kB / 0.7905 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003061/0.01621, allocations: 33.64 kB / 0.7905 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.01634, allocations: 496.1 kB / 0.791 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.363e-05/0.01636, allocations: 4 kB / 0.791 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.153e-05/0.0164, allocations: 46.72 kB / 0.791 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.653e-05/0.01647, allocations: 55.59 kB / 0.7911 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.01647, allocations: 0.5312 kB / 0.7911 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003668/0.01684, allocations: 75.19 kB / 0.7912 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.01685, allocations: 4 kB / 0.7912 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.01686, allocations: 4 kB / 0.7912 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.01688, allocations: 0.5938 kB / 0.7912 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.825e-05/0.01697, allocations: 11.94 kB / 0.7912 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.01697, allocations: 9.25 kB / 0.7912 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.652e-05/0.017, allocations: 11.89 kB / 0.7912 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.01701, allocations: 7.984 kB / 0.7912 GB, free: 8.035 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 8.246e-05/0.0171, allocations: 153.7 kB / 0.7914 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.01711, allocations: 8 kB / 0.7914 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.344e-05/0.01715, allocations: 4 kB / 0.7914 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.01715, allocations: 5.375 kB / 0.7914 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.01715, allocations: 0 / 0.7914 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.01716, allocations: 3.938 kB / 0.7914 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.904e-05/0.01726, allocations: 122.4 kB / 0.7915 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.01726, allocations: 0 / 0.7915 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.541e-05/0.01728, allocations: 3.938 kB / 0.7915 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.01728, allocations: 4 kB / 0.7915 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.01729, allocations: 0 / 0.7915 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.01729, allocations: 0.9062 kB / 0.7915 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.01729, allocations: 256 / 0.7915 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.01742, allocations: 104.3 kB / 0.7916 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.739e-06/0.01743, allocations: 4.844 kB / 0.7916 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.01745, allocations: 7.984 kB / 0.7916 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.087e-05/0.01747, allocations: 1.281 kB / 0.7916 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.654e-05/0.01749, allocations: 0 / 0.7916 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.0175, allocations: 4 kB / 0.7916 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.353e-05/0.01755, allocations: 131.8 kB / 0.7917 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01755, allocations: 0 / 0.7917 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002839/0.01783, allocations: 36.72 kB / 0.7918 GB, free: 7.391 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.0003913/0.01822, allocations: 192.5 kB / 0.792 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001205/0.01834, allocations: 36.64 kB / 0.792 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01834, allocations: 0 / 0.792 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.886e-05/0.01837, allocations: 19 kB / 0.792 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.01851, allocations: 7.984 kB / 0.792 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002669/0.01878, allocations: 118.3 kB / 0.7921 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.59e-05/0.01882, allocations: 59.34 kB / 0.7922 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.282e-05/0.01884, allocations: 0 / 0.7922 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.054e-05/0.01886, allocations: 12.5 kB / 0.7922 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of SimCode: time 7.71e-07/0.01886, allocations: 0 / 0.7922 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of Templates: time 0.00995/0.02881, allocations: 1.34 MB / 0.7935 GB, free: 5.602 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","",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 filterSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.diff.mat", vars={"y"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] filterSimulationResults("/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.ref.mat", vars={"y"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 4.967518053948879]