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.001437/0.001437, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.003485/0.003485, allocations: 185.3 kB / 24.09 MB, free: 416 kB / 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 0.9304/0.9304, allocations: 177.1 MB / 204.5 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.745/1.745, allocations: 359 MB / 0.6055 GB, free: 10.89 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.463e-06/1.463e-06, allocations: 0 / 0.7875 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.228e-05/2.375e-05, allocations: 4.703 kB / 0.7875 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001744/0.001767, allocations: 1.269 MB / 0.7888 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007087/0.002476, allocations: 483.4 kB / 0.7892 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.962e-05/0.002506, allocations: 0.7812 kB / 0.7892 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.848e-05/0.002524, allocations: 7.938 kB / 0.7892 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.542e-05/0.00256, allocations: 0 / 0.7892 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005162/0.003076, allocations: 132.8 kB / 0.7894 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.55e-05/0.003141, allocations: 23.91 kB / 0.7894 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.206e-05/0.003173, allocations: 0 / 0.7894 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.218e-05/0.003216, allocations: 15.17 kB / 0.7894 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.358e-05/0.003239, allocations: 7.984 kB / 0.7894 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.003253, allocations: 0 / 0.7894 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002171/0.00347, allocations: 151.6 kB / 0.7896 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.003486, allocations: 7.922 kB / 0.7896 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.06e-05/0.003506, allocations: 8 kB / 0.7896 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.003673, allocations: 119.7 kB / 0.7897 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.003676, allocations: 4 kB / 0.7897 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.91e-07/0.003677, allocations: 1.031 kB / 0.7897 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.00368, allocations: 0 / 0.7897 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.0006783/0.004359, allocations: 422.5 kB / 0.7901 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.004399, allocations: 12.03 kB / 0.7901 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.768e-05/0.004426, allocations: 2.219 kB / 0.7901 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.734e-05/0.004504, allocations: 112.6 kB / 0.7902 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.004524, allocations: 4.375 kB / 0.7902 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-06/0.00453, allocations: 1.75 kB / 0.7902 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.571e-05/0.004616, allocations: 50.94 kB / 0.7903 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.004623, allocations: 192 / 0.7903 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.004632, allocations: 4.375 kB / 0.7903 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.004637, allocations: 1.969 kB / 0.7903 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.206e-05/0.004649, allocations: 3.938 kB / 0.7903 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001004/0.00475, allocations: 105.3 kB / 0.7904 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.303e-05/0.004813, allocations: 31 kB / 0.7904 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.809e-05/0.004831, allocations: 17.3 kB / 0.7904 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.00484, allocations: 8 kB / 0.7904 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.124e-05/0.004922, allocations: 58.64 kB / 0.7905 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 2.014e-06/0.004924, allocations: 3.984 kB / 0.7905 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001373/0.005061, allocations: 65.61 kB / 0.7905 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.00509, allocations: 51.41 kB / 0.7906 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.427e-05/0.005174, allocations: 168 kB / 0.7908 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.005185, allocations: 29.7 kB / 0.7908 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.167e-05/0.005227, allocations: 134.8 kB / 0.7909 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.005246, allocations: 3.953 kB / 0.7909 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.005278, allocations: 31.34 kB / 0.7909 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.005388, allocations: 0.4883 MB / 0.7914 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.078e-05/0.005399, allocations: 12.45 kB / 0.7914 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.699e-05/0.005426, allocations: 43.44 kB / 0.7915 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.748e-05/0.005473, allocations: 56.73 kB / 0.7915 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.005475, allocations: 0 / 0.7915 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.691e-05/0.005542, allocations: 65.56 kB / 0.7916 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.005553, allocations: 4.625 kB / 0.7916 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.005558, allocations: 0.9062 kB / 0.7916 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.005569, allocations: 4 kB / 0.7916 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.097e-05/0.00563, allocations: 8 kB / 0.7916 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.005633, allocations: 0.6875 kB / 0.7916 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.126e-05/0.005654, allocations: 24.41 kB / 0.7916 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.00566, allocations: 0 / 0.7916 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 6.548e-05/0.005726, allocations: 157.7 kB / 0.7918 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.177e-06/0.005735, allocations: 7.938 kB / 0.7918 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.59e-05/0.005761, allocations: 9.062 kB / 0.7918 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.005763, allocations: 0 / 0.7918 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.005765, allocations: 4 kB / 0.7918 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.005768, allocations: 0.5312 kB / 0.7918 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.104e-05/0.005839, allocations: 110 kB / 0.7919 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.00584, allocations: 0 / 0.7919 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.804e-06/0.005848, allocations: 2.062 kB / 0.7919 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.005849, allocations: 0 / 0.7919 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.94e-06/0.005854, allocations: 0 / 0.7919 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.005855, allocations: 4 kB / 0.7919 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.005855, allocations: 0 / 0.7919 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.215e-05/0.005948, allocations: 96.31 kB / 0.792 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.445e-06/0.005956, allocations: 4.562 kB / 0.792 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.817e-06/0.005965, allocations: 6.531 kB / 0.792 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.276e-05/0.005978, allocations: 0 / 0.792 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.805e-05/0.005996, allocations: 11.92 kB / 0.792 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.005999, allocations: 0 / 0.792 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.685e-05/0.006036, allocations: 123.2 kB / 0.7921 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006036, allocations: 0 / 0.7921 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000181/0.006217, allocations: 39.86 kB / 0.7922 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.0002841/0.006501, allocations: 188.7 kB / 0.7924 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.592e-05/0.006577, allocations: 32.17 kB / 0.7924 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.006579, allocations: 5.688 kB / 0.7924 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.97e-05/0.006599, allocations: 11.69 kB / 0.7924 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001025/0.006701, allocations: 9.969 kB / 0.7924 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001837/0.006885, allocations: 128.7 kB / 0.7925 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.699e-05/0.006912, allocations: 52.08 kB / 0.7926 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.231e-05/0.006934, allocations: 8.609 kB / 0.7926 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.006966, allocations: 71.3 kB / 0.7927 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of SimCode: time 6.41e-07/0.006967, allocations: 0 / 0.7927 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of Templates: time 0.002879/0.009846, allocations: 1.347 MB / 0.794 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: 4.8344869879074395]