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.0009873/0.0009873, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0009952/0.0009952, allocations: 165.6 kB / 24.87 MB, free: 8.891 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.017/1.017, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.829/1.829, allocations: 359 MB / 0.6063 GB, free: 10.85 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.293e-06/1.293e-06, allocations: 0 / 0.7883 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.363e-05, allocations: 8.922 kB / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001614/0.001637, allocations: 1.28 MB / 0.7895 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000978/0.002615, allocations: 479.8 kB / 0.79 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.79e-05/0.002643, allocations: 3.938 kB / 0.79 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.846e-05/0.002662, allocations: 4.547 kB / 0.79 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.753e-05/0.002699, allocations: 5.094 kB / 0.79 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004924/0.003191, allocations: 127.5 kB / 0.7901 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.683e-05/0.003248, allocations: 12.5 kB / 0.7901 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.129e-05/0.00328, allocations: 7.984 kB / 0.7901 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.237e-05/0.003312, allocations: 16.61 kB / 0.7902 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.25e-05/0.003334, allocations: 7.984 kB / 0.7902 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.003347, allocations: 4.906 kB / 0.7902 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002137/0.003561, allocations: 151.6 kB / 0.7903 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.003574, allocations: 0.6562 kB / 0.7903 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.24e-05/0.003596, allocations: 15.91 kB / 0.7903 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.00377, allocations: 121.3 kB / 0.7904 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.003772, allocations: 0 / 0.7904 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.61e-07/0.003772, allocations: 0 / 0.7904 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.003776, allocations: 0 / 0.7904 GB, free: 10.04 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.0003366/0.004112, allocations: 419.6 kB / 0.7908 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.004143, allocations: 8.031 kB / 0.7908 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.792e-05/0.004171, allocations: 4.938 kB / 0.7909 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.88e-05/0.00424, allocations: 116.6 kB / 0.791 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.004257, allocations: 7.797 kB / 0.791 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-06/0.004265, allocations: 4.375 kB / 0.791 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.01e-05/0.004335, allocations: 50.89 kB / 0.791 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.004341, allocations: 192 / 0.791 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-06/0.004346, allocations: 384 / 0.791 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.00435, allocations: 384 / 0.791 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.248e-05/0.004363, allocations: 7.938 kB / 0.791 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.252e-05/0.004455, allocations: 105.2 kB / 0.7911 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.936e-05/0.004514, allocations: 39.08 kB / 0.7912 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.893e-05/0.004533, allocations: 12.28 kB / 0.7912 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.39e-06/0.004539, allocations: 0.5938 kB / 0.7912 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.308e-05/0.004612, allocations: 65.7 kB / 0.7912 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.004613, allocations: 1.125 kB / 0.7912 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001498/0.004762, allocations: 57.69 kB / 0.7913 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.004801, allocations: 59.39 kB / 0.7914 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.16e-05/0.004873, allocations: 158.8 kB / 0.7915 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.004883, allocations: 29.7 kB / 0.7915 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/0.004928, allocations: 143.4 kB / 0.7917 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.004944, allocations: 7.891 kB / 0.7917 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/0.004975, allocations: 28.5 kB / 0.7917 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.005104, allocations: 0.4922 MB / 0.7922 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.009e-05/0.005114, allocations: 4 kB / 0.7922 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.989e-05/0.005144, allocations: 47.5 kB / 0.7922 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.61e-05/0.00519, allocations: 51.84 kB / 0.7923 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.005193, allocations: 1.719 kB / 0.7923 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.684e-05/0.005259, allocations: 57.62 kB / 0.7923 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.005271, allocations: 8 kB / 0.7924 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.005277, allocations: 4.531 kB / 0.7924 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-06/0.005285, allocations: 0.5625 kB / 0.7924 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.784e-05/0.005333, allocations: 19.86 kB / 0.7924 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.005336, allocations: 5.375 kB / 0.7924 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.947e-05/0.005355, allocations: 11.83 kB / 0.7924 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.005362, allocations: 4 kB / 0.7924 GB, free: 7.812 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 7.397e-05/0.005436, allocations: 161.2 kB / 0.7925 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.602e-06/0.005443, allocations: 1.938 kB / 0.7926 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.59e-05/0.005469, allocations: 4 kB / 0.7926 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.005471, allocations: 7.984 kB / 0.7926 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.005474, allocations: 0 / 0.7926 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.005477, allocations: 0 / 0.7926 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.113e-05/0.005548, allocations: 105.8 kB / 0.7927 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.005549, allocations: 0 / 0.7927 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.059e-06/0.005554, allocations: 0.7188 kB / 0.7927 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-06/0.005555, allocations: 4 kB / 0.7927 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.005563, allocations: 5.203 kB / 0.7927 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.005563, allocations: 0 / 0.7927 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.005564, allocations: 0 / 0.7927 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.687e-05/0.005661, allocations: 100.9 kB / 0.7928 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.184e-06/0.005668, allocations: 4.266 kB / 0.7928 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.188e-06/0.005677, allocations: 5.125 kB / 0.7928 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.13e-05/0.005689, allocations: 0 / 0.7928 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.606e-05/0.005705, allocations: 0 / 0.7928 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.005709, allocations: 5.016 kB / 0.7928 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.837e-05/0.005748, allocations: 131.2 kB / 0.7929 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005748, allocations: 0 / 0.7929 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001714/0.005919, allocations: 40.72 kB / 0.7929 GB, free: 7.195 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.0002723/0.006192, allocations: 188.8 kB / 0.7931 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.445e-05/0.006266, allocations: 38.38 kB / 0.7932 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.92e-07/0.006267, allocations: 0 / 0.7932 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.272e-05/0.00629, allocations: 23.67 kB / 0.7932 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.899e-05/0.006389, allocations: 3.938 kB / 0.7932 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001867/0.006575, allocations: 122.2 kB / 0.7933 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.054e-05/0.006606, allocations: 59.34 kB / 0.7934 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.598e-05/0.006622, allocations: 1.531 kB / 0.7934 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.006654, allocations: 70.2 kB / 0.7934 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.006655, allocations: 0 / 0.7934 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of Templates: time 0.002831/0.009485, allocations: 1.356 MB / 0.7948 GB, free: 5.324 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.074292924255133]