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.001424/0.001424, allocations: 82.64 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.001784/0.001784, allocations: 181 kB / 24.09 MB, free: 420 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.9943/0.9943, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.755/1.755, allocations: 359 MB / 0.6055 GB, free: 10.9 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.523e-06/1.523e-06, allocations: 0 / 0.7875 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.17e-05, allocations: 3.312 kB / 0.7875 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001609/0.001631, allocations: 1.271 MB / 0.7888 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0006644/0.002295, allocations: 467.8 kB / 0.7892 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.019e-05/0.002326, allocations: 0.5625 kB / 0.7892 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.888e-05/0.002345, allocations: 0 / 0.7892 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.235e-05/0.002387, allocations: 5.094 kB / 0.7892 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004731/0.00286, allocations: 123.4 kB / 0.7893 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.57e-05/0.002916, allocations: 20.53 kB / 0.7893 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.071e-05/0.002946, allocations: 4 kB / 0.7893 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.708e-05/0.002983, allocations: 12.67 kB / 0.7894 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.355e-05/0.003007, allocations: 12.89 kB / 0.7894 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.00302, allocations: 0 / 0.7894 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001948/0.003215, allocations: 143.7 kB / 0.7895 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.035e-05/0.003235, allocations: 8.641 kB / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.942e-05/0.003254, allocations: 11.92 kB / 0.7895 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.003407, allocations: 121.3 kB / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003409, allocations: 0 / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.142e-06/0.00341, allocations: 4 kB / 0.7897 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.003413, allocations: 0 / 0.7897 GB, free: 10.07 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003688/0.003782, allocations: 419.5 kB / 0.7901 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.00382, allocations: 12.03 kB / 0.7901 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.53e-05/0.003845, allocations: 0.9375 kB / 0.7901 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.017e-05/0.003915, allocations: 112.6 kB / 0.7902 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.003932, allocations: 7.844 kB / 0.7902 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.603e-06/0.003938, allocations: 384 / 0.7902 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.968e-05/0.004018, allocations: 54.95 kB / 0.7902 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.004025, allocations: 192 / 0.7902 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.28e-06/0.00403, allocations: 384 / 0.7902 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.004035, allocations: 384 / 0.7902 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.392e-05/0.004049, allocations: 15.86 kB / 0.7902 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.57e-05/0.004145, allocations: 97.22 kB / 0.7903 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.431e-05/0.004179, allocations: 31.09 kB / 0.7904 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.962e-05/0.004198, allocations: 16.28 kB / 0.7904 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.75e-06/0.004204, allocations: 4.594 kB / 0.7904 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.742e-05/0.004282, allocations: 69.78 kB / 0.7905 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 2.023e-06/0.004284, allocations: 1.219 kB / 0.7905 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0001387/0.004422, allocations: 65.69 kB / 0.7905 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.004452, allocations: 55.41 kB / 0.7906 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.627e-05/0.004528, allocations: 157.9 kB / 0.7907 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.004539, allocations: 30.33 kB / 0.7908 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.333e-05/0.004582, allocations: 136 kB / 0.7909 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.004602, allocations: 11.89 kB / 0.7909 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.004633, allocations: 31.36 kB / 0.7909 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.004741, allocations: 0.4892 MB / 0.7914 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.527e-06/0.004751, allocations: 4 kB / 0.7914 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.339e-05/0.004784, allocations: 58.34 kB / 0.7915 GB, free: 8 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.958e-05/0.004834, allocations: 60.12 kB / 0.7915 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.004836, allocations: 0.75 kB / 0.7915 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.16e-05/0.004907, allocations: 78.7 kB / 0.7916 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.004919, allocations: 4 kB / 0.7916 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.004925, allocations: 5.5 kB / 0.7916 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.004937, allocations: 0 / 0.7916 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.821e-05/0.004995, allocations: 15.98 kB / 0.7916 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.004998, allocations: 0 / 0.7916 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.942e-05/0.005017, allocations: 14.7 kB / 0.7916 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.005025, allocations: 8.078 kB / 0.7916 GB, free: 7.797 MB / 0.7448 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 6.173e-05/0.005086, allocations: 168.5 kB / 0.7918 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.564e-06/0.005094, allocations: 4 kB / 0.7918 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.329e-05/0.005117, allocations: 7.797 kB / 0.7918 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.005118, allocations: 0 / 0.7918 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.00512, allocations: 0 / 0.7918 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.005123, allocations: 1.5 kB / 0.7918 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.818e-05/0.005191, allocations: 109.1 kB / 0.7919 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.005192, allocations: 0.5 kB / 0.7919 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.056e-05/0.005202, allocations: 7.984 kB / 0.7919 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.005203, allocations: 0.5 kB / 0.7919 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.00521, allocations: 4.5 kB / 0.7919 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.005211, allocations: 4.562 kB / 0.7919 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.005212, allocations: 0 / 0.7919 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.301e-05/0.005305, allocations: 97.75 kB / 0.792 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.203e-06/0.005312, allocations: 7.984 kB / 0.792 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.314e-06/0.00532, allocations: 0 / 0.792 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.176e-05/0.005331, allocations: 0 / 0.792 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/0.00535, allocations: 8.562 kB / 0.792 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.005353, allocations: 0 / 0.792 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.19e-05/0.005395, allocations: 129.1 kB / 0.7922 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005395, allocations: 0 / 0.7922 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001663/0.005561, allocations: 35.88 kB / 0.7922 GB, free: 7.168 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 (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.0002686/0.00583, allocations: 184.6 kB / 0.7924 GB, free: 7 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.32e-05/0.005903, allocations: 31.61 kB / 0.7924 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.005905, allocations: 1 kB / 0.7924 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.15e-05/0.005926, allocations: 27.62 kB / 0.7924 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.709e-05/0.006023, allocations: 8.766 kB / 0.7924 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001722/0.006195, allocations: 122.6 kB / 0.7926 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.956e-05/0.006225, allocations: 61.56 kB / 0.7926 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.736e-05/0.006242, allocations: 4 kB / 0.7926 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.109e-05/0.006273, allocations: 70.2 kB / 0.7927 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/0.006274, allocations: 0 / 0.7927 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of Templates: time 0.0026/0.008873, allocations: 1.326 MB / 0.794 GB, free: 5.32 MB / 0.7448 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: 4.859397734049708]