Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.001147/0.001147, 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.001155/0.001155, allocations: 181 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.9813/0.9813, allocations: 177.1 MB / 204.5 MB, free: 5.539 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.776/1.776, allocations: 359 MB / 0.6055 GB, free: 10.88 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.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.434e-06/2.434e-06, allocations: 0 / 0.7875 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.689e-05/2.932e-05, allocations: 6.969 kB / 0.7875 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002577/0.002607, allocations: 1.259 MB / 0.7887 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009192/0.003526, allocations: 447.5 kB / 0.7892 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.476e-05/0.003561, allocations: 1.094 kB / 0.7892 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.115e-05/0.003582, allocations: 7.938 kB / 0.7892 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.475e-05/0.003627, allocations: 0 / 0.7892 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006157/0.004242, allocations: 121.3 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.47e-05/0.004317, allocations: 19.97 kB / 0.7893 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.755e-05/0.004355, allocations: 0 / 0.7893 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.25e-05/0.004407, allocations: 19.92 kB / 0.7893 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.832e-05/0.004435, allocations: 0.7188 kB / 0.7893 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.004451, allocations: 4 kB / 0.7893 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000289/0.00474, allocations: 140.4 kB / 0.7895 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.817e-05/0.004758, allocations: 7.969 kB / 0.7895 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.318e-05/0.004781, allocations: 5.25 kB / 0.7895 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.005029, allocations: 119.6 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.005031, allocations: 0 / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.453e-06/0.005032, allocations: 0 / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.005037, allocations: 5.406 kB / 0.7896 GB, free: 10.11 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.0005475/0.005585, allocations: 402.1 kB / 0.79 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.005641, allocations: 8.031 kB / 0.79 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.879e-05/0.00569, allocations: 9.953 kB / 0.79 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.005804, allocations: 108.6 kB / 0.7901 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.005831, allocations: 5.875 kB / 0.7901 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.005843, allocations: 4.375 kB / 0.7901 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.005963, allocations: 54.94 kB / 0.7902 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.005975, allocations: 8.109 kB / 0.7902 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.005982, allocations: 2.125 kB / 0.7902 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.005989, allocations: 384 / 0.7902 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.843e-05/0.006008, allocations: 7.938 kB / 0.7902 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.006151, allocations: 97.25 kB / 0.7903 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.734e-05/0.006239, allocations: 31.06 kB / 0.7903 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.893e-05/0.006268, allocations: 22.31 kB / 0.7903 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-06/0.006277, allocations: 4 kB / 0.7903 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001167/0.006394, allocations: 57 kB / 0.7904 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.432e-06/0.006395, allocations: 3.938 kB / 0.7904 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0002007/0.006596, allocations: 66.25 kB / 0.7905 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.00664, allocations: 51.41 kB / 0.7905 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.006761, allocations: 167.6 kB / 0.7907 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.006778, allocations: 25.7 kB / 0.7907 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.266e-05/0.006841, allocations: 130.9 kB / 0.7908 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.006872, allocations: 11.88 kB / 0.7908 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/0.006915, allocations: 31.36 kB / 0.7909 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.007103, allocations: 0.4889 MB / 0.7913 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.693e-05/0.00712, allocations: 8.844 kB / 0.7913 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.97e-05/0.00716, allocations: 38.73 kB / 0.7914 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.858e-05/0.007228, allocations: 52.28 kB / 0.7914 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.007231, allocations: 0 / 0.7914 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001039/0.007335, allocations: 71.72 kB / 0.7915 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.007351, allocations: 4 kB / 0.7915 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.007359, allocations: 4 kB / 0.7915 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.007377, allocations: 0 / 0.7915 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.539e-05/0.007462, allocations: 8 kB / 0.7915 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.007467, allocations: 4.469 kB / 0.7915 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.464e-05/0.007492, allocations: 12.66 kB / 0.7915 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/0.007499, allocations: 0 / 0.7915 GB, free: 7.914 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 9.213e-05/0.007591, allocations: 165.2 kB / 0.7917 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.007603, allocations: 5.594 kB / 0.7917 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.819e-05/0.007641, allocations: 8.109 kB / 0.7917 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.007644, allocations: 0 / 0.7917 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.007646, allocations: 0 / 0.7917 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.007651, allocations: 0.5312 kB / 0.7917 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.915e-05/0.00775, allocations: 102.5 kB / 0.7918 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.007751, allocations: 0 / 0.7918 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.198e-05/0.007763, allocations: 7.984 kB / 0.7918 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.007765, allocations: 0 / 0.7918 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.00777, allocations: 1.156 kB / 0.7918 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.007774, allocations: 3.984 kB / 0.7918 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.007775, allocations: 0 / 0.7918 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.007899, allocations: 105.6 kB / 0.7919 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.563e-06/0.007906, allocations: 3.938 kB / 0.7919 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.007918, allocations: 12 kB / 0.7919 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.003e-05/0.007938, allocations: 0 / 0.7919 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.944e-05/0.007958, allocations: 1.75 kB / 0.7919 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.007966, allocations: 7.984 kB / 0.7919 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.485e-05/0.008011, allocations: 119.2 kB / 0.7921 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.008011, allocations: 0 / 0.7921 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002763/0.008287, allocations: 39.86 kB / 0.7921 GB, free: 7.285 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.0003546/0.008642, allocations: 173.2 kB / 0.7923 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.666e-05/0.008739, allocations: 33.3 kB / 0.7923 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.00874, allocations: 4 kB / 0.7923 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.003e-05/0.00877, allocations: 15.95 kB / 0.7923 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.008921, allocations: 7.938 kB / 0.7923 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002435/0.009164, allocations: 114.9 kB / 0.7924 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.683e-05/0.009211, allocations: 59.3 kB / 0.7925 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.525e-05/0.009236, allocations: 7.453 kB / 0.7925 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.126e-05/0.009288, allocations: 70.2 kB / 0.7926 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of SimCode: time 6.91e-07/0.009288, allocations: 0 / 0.7926 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of Templates: time 0.003959/0.01325, allocations: 1.272 MB / 0.7938 GB, free: 5.523 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit1D.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,seed,t0,time,y filterSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff.mat", vars={"y"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] filterSimulationResults("/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff.ref.mat", vars={"y"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 4.9022581349126995]