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.001308/0.001308, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001191/0.001191, allocations: 169 kB / 23.82 MB, free: 0.7461 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.036/1.036, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.688/1.688, allocations: 359 MB / 0.6052 GB, free: 11 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 1.563e-06/1.563e-06, allocations: 0 / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.951e-05/3.107e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002584/0.002615, allocations: 1.261 MB / 0.7883 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009075/0.003523, allocations: 451.8 kB / 0.7887 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.499e-05/0.003558, allocations: 0.75 kB / 0.7887 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.807e-05/0.003586, allocations: 0 / 0.7887 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.22e-05/0.003638, allocations: 4.5 kB / 0.7887 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007263/0.004364, allocations: 116.1 kB / 0.7888 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.132e-05/0.004445, allocations: 23.91 kB / 0.7889 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.057e-05/0.004486, allocations: 5.406 kB / 0.7889 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.2e-05/0.004528, allocations: 11.98 kB / 0.7889 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.419e-05/0.004562, allocations: 4 kB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.004579, allocations: 0.8438 kB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003288/0.004908, allocations: 139.7 kB / 0.789 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.109e-05/0.004929, allocations: 11.92 kB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.326e-05/0.004962, allocations: 12.55 kB / 0.789 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002576/0.00522, allocations: 112.6 kB / 0.7891 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.005224, allocations: 0 / 0.7891 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.313e-06/0.005225, allocations: 0 / 0.7891 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.005231, allocations: 0.6562 kB / 0.7891 GB, free: 10.38 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.0005302/0.005761, allocations: 411.3 kB / 0.7895 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.005803, allocations: 12.03 kB / 0.7895 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.369e-05/0.005857, allocations: 4.891 kB / 0.7895 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.005958, allocations: 114.2 kB / 0.7897 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.005984, allocations: 4.375 kB / 0.7897 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.005997, allocations: 4.375 kB / 0.7897 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.006128, allocations: 54.89 kB / 0.7897 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.006139, allocations: 5.391 kB / 0.7897 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.00615, allocations: 384 / 0.7897 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.006161, allocations: 4.375 kB / 0.7897 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.319e-05/0.006184, allocations: 3.938 kB / 0.7897 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001521/0.006336, allocations: 117.4 kB / 0.7898 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.00644, allocations: 32.66 kB / 0.7899 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.154e-05/0.006471, allocations: 15.77 kB / 0.7899 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.006481, allocations: 7.938 kB / 0.7899 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001099/0.006591, allocations: 57.81 kB / 0.79 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 2.996e-06/0.006594, allocations: 3.406 kB / 0.79 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0002211/0.006815, allocations: 69.62 kB / 0.79 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.006863, allocations: 55.34 kB / 0.7901 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.006968, allocations: 165.9 kB / 0.7902 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.006986, allocations: 29.7 kB / 0.7903 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.241e-05/0.007048, allocations: 126.9 kB / 0.7904 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.007078, allocations: 11.89 kB / 0.7904 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.854e-05/0.007127, allocations: 27.36 kB / 0.7904 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.007276, allocations: 496.1 kB / 0.7909 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.122e-05/0.007297, allocations: 4.719 kB / 0.7909 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.865e-05/0.007346, allocations: 50.72 kB / 0.7909 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.156e-05/0.007417, allocations: 52.72 kB / 0.791 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.00742, allocations: 3.938 kB / 0.791 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001154/0.007535, allocations: 78.92 kB / 0.7911 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.007552, allocations: 8 kB / 0.7911 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.007559, allocations: 0.5625 kB / 0.7911 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.007578, allocations: 0 / 0.7911 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.669e-05/0.007674, allocations: 13.28 kB / 0.7911 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.007685, allocations: 7.938 kB / 0.7911 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.442e-05/0.007709, allocations: 0 / 0.7911 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.007719, allocations: 4.156 kB / 0.7911 GB, free: 8.125 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 0.0001074/0.007827, allocations: 169.9 kB / 0.7913 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/0.00784, allocations: 0 / 0.7913 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.007875, allocations: 4.312 kB / 0.7913 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.007878, allocations: 4 kB / 0.7913 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.007882, allocations: 1.438 kB / 0.7913 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.007887, allocations: 3.938 kB / 0.7913 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.008011, allocations: 116.6 kB / 0.7914 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.008013, allocations: 0 / 0.7914 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.709e-05/0.00803, allocations: 5.156 kB / 0.7914 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.008034, allocations: 4 kB / 0.7914 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.008042, allocations: 0 / 0.7914 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.008046, allocations: 0.5312 kB / 0.7914 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.008047, allocations: 4.469 kB / 0.7914 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.008188, allocations: 104.3 kB / 0.7915 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.175e-06/0.008196, allocations: 0.875 kB / 0.7915 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.008211, allocations: 4 kB / 0.7915 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.948e-05/0.008241, allocations: 0.8125 kB / 0.7915 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.008272, allocations: 3.984 kB / 0.7915 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.00828, allocations: 0.5312 kB / 0.7915 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.522e-05/0.008335, allocations: 127.1 kB / 0.7916 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.008335, allocations: 1.375 kB / 0.7916 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003286/0.008663, allocations: 39.86 kB / 0.7917 GB, free: 7.477 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.0004907/0.009154, allocations: 178.4 kB / 0.7918 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001425/0.009297, allocations: 36.2 kB / 0.7919 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.009299, allocations: 0.8125 kB / 0.7919 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.669e-05/0.009335, allocations: 23.61 kB / 0.7919 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.009501, allocations: 0.9375 kB / 0.7919 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.009854, allocations: 118.3 kB / 0.792 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.522e-05/0.00993, allocations: 56.59 kB / 0.7921 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.989e-05/0.009959, allocations: 4 kB / 0.7921 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.576e-05/0.009985, allocations: 8.5 kB / 0.7921 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of SimCode: time 9.32e-07/0.009986, allocations: 0.9688 kB / 0.7921 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of Templates: time 0.004366/0.01435, allocations: 1.261 MB / 0.7933 GB, free: 5.789 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.982443114742637]