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.001121/0.001121, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001254/0.001254, allocations: 161 kB / 23.82 MB, free: 0.75 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.037/1.037, allocations: 177.1 MB / 204.2 MB, free: 5.258 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.88/1.88, 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.152e-06/1.152e-06, allocations: 0.5469 kB / 0.787 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.661e-05/1.776e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001692/0.00171, allocations: 1.274 MB / 0.7883 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007303/0.002441, allocations: 486.9 kB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.719e-05/0.002468, allocations: 1.344 kB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.329e-05/0.002491, allocations: 0 / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.386e-05/0.002525, allocations: 3.938 kB / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005136/0.003038, allocations: 132.2 kB / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.449e-05/0.003103, allocations: 19.92 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.813e-05/0.003141, allocations: 4.875 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.549e-05/0.003177, allocations: 11.98 kB / 0.7889 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.48e-05/0.003201, allocations: 6.453 kB / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.003217, allocations: 7.938 kB / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002206/0.003438, allocations: 151.6 kB / 0.7891 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.003456, allocations: 3.938 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.841e-05/0.003484, allocations: 8 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.003672, allocations: 119.7 kB / 0.7892 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.003676, allocations: 7.922 kB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.71e-07/0.003676, allocations: 1.75 kB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.00368, allocations: 0 / 0.7892 GB, free: 10.3 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.000403/0.004083, allocations: 414 kB / 0.7896 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.004118, allocations: 8.031 kB / 0.7896 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.86e-05/0.004157, allocations: 5.531 kB / 0.7896 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.961e-05/0.004236, allocations: 120.6 kB / 0.7897 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.004256, allocations: 1.094 kB / 0.7897 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.00427, allocations: 12.83 kB / 0.7898 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.281e-05/0.004363, allocations: 50.95 kB / 0.7898 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.004372, allocations: 5.828 kB / 0.7898 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.004382, allocations: 384 / 0.7898 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.004389, allocations: 384 / 0.7898 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.835e-05/0.004407, allocations: 7.938 kB / 0.7898 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001157/0.004523, allocations: 117.3 kB / 0.7899 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.165e-05/0.004594, allocations: 35.06 kB / 0.79 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.559e-05/0.00462, allocations: 20.48 kB / 0.79 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.322e-06/0.004626, allocations: 5.156 kB / 0.79 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.415e-05/0.0047, allocations: 57.06 kB / 0.79 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.004701, allocations: 1.375 kB / 0.79 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001604/0.004862, allocations: 61.67 kB / 0.7901 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.004894, allocations: 59.34 kB / 0.7902 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.443e-05/0.004968, allocations: 169.9 kB / 0.7903 GB, free: 9 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.00498, allocations: 27.45 kB / 0.7903 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.212e-05/0.005022, allocations: 134.8 kB / 0.7905 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.005041, allocations: 15.88 kB / 0.7905 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.005069, allocations: 23.38 kB / 0.7905 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.767e-05/0.005166, allocations: 497.3 kB / 0.791 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.444e-05/0.005181, allocations: 7.984 kB / 0.791 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.073e-05/0.005211, allocations: 46.73 kB / 0.791 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.759e-05/0.005259, allocations: 56.3 kB / 0.7911 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.005261, allocations: 0 / 0.7911 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.001e-05/0.005331, allocations: 68.34 kB / 0.7912 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.005344, allocations: 8 kB / 0.7912 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.005348, allocations: 0 / 0.7912 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.005361, allocations: 0 / 0.7912 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.483e-05/0.005436, allocations: 19.92 kB / 0.7912 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.005442, allocations: 3.938 kB / 0.7912 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.743e-05/0.00546, allocations: 8.391 kB / 0.7912 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.005469, allocations: 4.531 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 6.909e-05/0.005538, allocations: 162.5 kB / 0.7914 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.833e-06/0.005545, allocations: 240 / 0.7914 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.751e-05/0.005572, allocations: 8 kB / 0.7914 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.005575, allocations: 3.984 kB / 0.7914 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.005579, allocations: 0 / 0.7914 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.005584, allocations: 10.52 kB / 0.7914 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.013e-05/0.005654, allocations: 112.6 kB / 0.7915 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.005655, allocations: 256 / 0.7915 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.907e-06/0.005664, allocations: 8 kB / 0.7915 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.005665, allocations: 0 / 0.7915 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.005672, allocations: 3.984 kB / 0.7915 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.005673, allocations: 3.938 kB / 0.7915 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.005674, allocations: 0.5312 kB / 0.7915 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.175e-05/0.005766, allocations: 104.3 kB / 0.7916 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-06/0.005772, allocations: 4.844 kB / 0.7916 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.175e-06/0.00578, allocations: 0 / 0.7916 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.358e-05/0.005794, allocations: 0.8438 kB / 0.7916 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.171e-05/0.005816, allocations: 4 kB / 0.7916 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.005819, allocations: 1.281 kB / 0.7916 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.779e-05/0.005857, allocations: 135.1 kB / 0.7917 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.005857, allocations: 0 / 0.7917 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001713/0.006028, allocations: 43.8 kB / 0.7918 GB, free: 7.379 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.0002744/0.006303, allocations: 183.7 kB / 0.792 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.347e-05/0.006386, allocations: 36.92 kB / 0.792 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.006388, allocations: 0 / 0.792 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.376e-05/0.006412, allocations: 24.55 kB / 0.792 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001012/0.006513, allocations: 8.266 kB / 0.792 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002077/0.00672, allocations: 119.6 kB / 0.7921 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.103e-05/0.006752, allocations: 59.34 kB / 0.7922 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.844e-05/0.00677, allocations: 1.125 kB / 0.7922 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.751e-05/0.006787, allocations: 12.5 kB / 0.7922 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of SimCode: time 6.82e-07/0.006788, allocations: 1.281 kB / 0.7922 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of Templates: time 0.002587/0.009375, allocations: 1.197 MB / 0.7934 GB, free: 5.723 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: 5.315308377146721]