Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.0009554/0.0009554, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001178/0.001178, allocations: 166.6 kB / 24.87 MB, free: 8.355 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 0.9308/0.9308, allocations: 177.1 MB / 205.3 MB, free: 4.477 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.849/1.849, allocations: 359 MB / 0.6063 GB, free: 11.1 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.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 0.7883 GB, free: 456 kB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.587e-05/1.732e-05, allocations: 2.312 kB / 0.7883 GB, free: 452 kB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002459/0.002477, allocations: 1.273 MB / 0.7895 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008801/0.003357, allocations: 454.4 kB / 0.7899 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.326e-05/0.00339, allocations: 3.938 kB / 0.7899 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.129e-05/0.003411, allocations: 0 / 0.7899 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.58e-05/0.003457, allocations: 0 / 0.7899 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005609/0.004018, allocations: 131.3 kB / 0.7901 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.308e-05/0.004091, allocations: 23.92 kB / 0.7901 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.51e-05/0.004126, allocations: 4 kB / 0.7901 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.138e-05/0.004168, allocations: 15.97 kB / 0.7901 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.835e-05/0.004196, allocations: 7.984 kB / 0.7901 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.004211, allocations: 0 / 0.7901 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002798/0.004491, allocations: 139.7 kB / 0.7903 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.97e-05/0.004511, allocations: 11.94 kB / 0.7903 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.175e-05/0.004533, allocations: 0 / 0.7903 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.004753, allocations: 131.6 kB / 0.7904 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.004755, allocations: 0 / 0.7904 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.51e-07/0.004756, allocations: 0 / 0.7904 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.004759, allocations: 8 kB / 0.7904 GB, free: 14.24 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004312/0.00519, allocations: 410 kB / 0.7908 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.005229, allocations: 12.03 kB / 0.7908 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.005264, allocations: 8.891 kB / 0.7908 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.493e-05/0.005349, allocations: 112.6 kB / 0.7909 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.00537, allocations: 384 / 0.7909 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.005381, allocations: 12.36 kB / 0.7909 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.307e-05/0.005474, allocations: 50.95 kB / 0.791 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.005481, allocations: 192 / 0.791 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.005489, allocations: 384 / 0.791 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.005495, allocations: 4.375 kB / 0.791 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.966e-05/0.005515, allocations: 11.92 kB / 0.791 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001096/0.005624, allocations: 105.2 kB / 0.7911 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 4.649e-05/0.005671, allocations: 31 kB / 0.7911 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.819e-05/0.005699, allocations: 15.81 kB / 0.7911 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 7.464e-06/0.005706, allocations: 4 kB / 0.7911 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.467e-05/0.005791, allocations: 53.06 kB / 0.7912 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.005792, allocations: 0 / 0.7912 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of matching and sorting (n=5): time 0.0001796/0.005972, allocations: 77.56 kB / 0.7913 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.006007, allocations: 59.41 kB / 0.7913 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.691e-05/0.006094, allocations: 161.9 kB / 0.7915 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.006108, allocations: 29.7 kB / 0.7915 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 4.654e-05/0.006154, allocations: 130.9 kB / 0.7916 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.006177, allocations: 19.77 kB / 0.7917 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.006218, allocations: 31.36 kB / 0.7917 GB, free: 12.74 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.00635, allocations: 0.4883 MB / 0.7922 GB, free: 12.24 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.359e-05/0.006364, allocations: 7.984 kB / 0.7922 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.913e-05/0.006403, allocations: 46.44 kB / 0.7922 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.006521, allocations: 74.34 kB / 0.7923 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.006523, allocations: 0 / 0.7923 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000107/0.00663, allocations: 70.06 kB / 0.7923 GB, free: 12 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.006643, allocations: 6.344 kB / 0.7924 GB, free: 11.99 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.006649, allocations: 0 / 0.7924 GB, free: 11.99 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.006659, allocations: 4 kB / 0.7924 GB, free: 11.99 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.245e-05/0.006731, allocations: 15.92 kB / 0.7924 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.006736, allocations: 8.125 kB / 0.7924 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.169e-05/0.006768, allocations: 7.938 kB / 0.7924 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.006778, allocations: 8 kB / 0.7924 GB, free: 11.95 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (8): * Single equations (assignments): 8 * 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.346e-05/0.006852, allocations: 156.6 kB / 0.7925 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.006865, allocations: 3.953 kB / 0.7925 GB, free: 11.78 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.307e-05/0.006888, allocations: 11.81 kB / 0.7926 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.00689, allocations: 0 / 0.7926 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.006893, allocations: 3.984 kB / 0.7926 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.006897, allocations: 0 / 0.7926 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.728e-05/0.006984, allocations: 97.2 kB / 0.7927 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.006986, allocations: 4 kB / 0.7927 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.657e-05/0.007002, allocations: 4 kB / 0.7927 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.007004, allocations: 0 / 0.7927 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.007014, allocations: 7.984 kB / 0.7927 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.007016, allocations: 3.938 kB / 0.7927 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.007017, allocations: 0 / 0.7927 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.007137, allocations: 104.3 kB / 0.7928 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 8.806e-06/0.007146, allocations: 4 kB / 0.7928 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.007158, allocations: 3.984 kB / 0.7928 GB, free: 11.49 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.77e-05/0.007175, allocations: 0 / 0.7928 GB, free: 11.49 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.017e-05/0.007195, allocations: 8 kB / 0.7928 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.0072, allocations: 4 kB / 0.7928 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 4.127e-05/0.007241, allocations: 127.2 kB / 0.7929 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.007241, allocations: 0 / 0.7929 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002914/0.007533, allocations: 39.81 kB / 0.793 GB, free: 11.32 MB / 0.7605 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 (5): * Single equations (assignments): 3 * 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.0003327/0.007865, allocations: 182.2 kB / 0.7931 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 9.474e-05/0.00796, allocations: 39.67 kB / 0.7932 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.007961, allocations: 0 / 0.7932 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 2.862e-05/0.00799, allocations: 19.62 kB / 0.7932 GB, free: 11.08 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.008142, allocations: 7.938 kB / 0.7932 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002052/0.008348, allocations: 126.2 kB / 0.7933 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.318e-05/0.008381, allocations: 55.36 kB / 0.7934 GB, free: 10.85 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 2.211e-05/0.008403, allocations: 7.984 kB / 0.7934 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.105e-05/0.008444, allocations: 70.2 kB / 0.7934 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of SimCode: time 6.01e-07/0.008445, allocations: 192 / 0.7934 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of Templates: time 0.003889/0.01233, allocations: 1.318 MB / 0.7947 GB, free: 9.457 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.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,seed,t0,time,y filterSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.diff.mat", vars={"y"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] filterSimulationResults("/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.diff.ref.mat", vars={"y"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 5.1637565777637064]