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.0009407/0.0009407, allocations: 87.58 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.001025/0.001025, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9778/0.9778, 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.706/1.706, 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.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.272e-06/1.272e-06, allocations: 0 / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.256e-05/2.383e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002114/0.002138, allocations: 1.278 MB / 0.7883 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007506/0.002889, allocations: 463.8 kB / 0.7887 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.374e-05/0.002922, allocations: 0 / 0.7887 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.5e-05/0.002947, allocations: 1.625 kB / 0.7887 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.909e-05/0.002997, allocations: 7.875 kB / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005685/0.003565, allocations: 119.5 kB / 0.7889 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.553e-05/0.003631, allocations: 25.12 kB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.583e-05/0.003666, allocations: 4 kB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.303e-05/0.003699, allocations: 11.98 kB / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.746e-05/0.003727, allocations: 12.64 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.003742, allocations: 0 / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000241/0.003983, allocations: 144.6 kB / 0.7891 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.004, allocations: 11.98 kB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/0.004026, allocations: 3.984 kB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.004212, allocations: 124.2 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.004214, allocations: 1.594 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.11e-07/0.004215, allocations: 0 / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.00422, allocations: 4 kB / 0.7892 GB, free: 10.34 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.0004328/0.004653, allocations: 410 kB / 0.7896 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.00469, allocations: 15.47 kB / 0.7896 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.905e-05/0.004739, allocations: 4.922 kB / 0.7896 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.579e-05/0.004825, allocations: 112.6 kB / 0.7897 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.004845, allocations: 384 / 0.7897 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.004855, allocations: 4.375 kB / 0.7897 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.004959, allocations: 54.95 kB / 0.7898 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.004966, allocations: 192 / 0.7898 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.004975, allocations: 384 / 0.7898 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.004982, allocations: 384 / 0.7898 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.912e-05/0.005001, allocations: 20.44 kB / 0.7898 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001269/0.005128, allocations: 124.6 kB / 0.7899 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.917e-05/0.005177, allocations: 31.66 kB / 0.7899 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.951e-05/0.005206, allocations: 13.34 kB / 0.79 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.892e-06/0.005213, allocations: 0 / 0.79 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.631e-05/0.00531, allocations: 73.08 kB / 0.79 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.432e-06/0.005311, allocations: 0.7812 kB / 0.79 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0001963/0.005507, allocations: 73.67 kB / 0.7901 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.005548, allocations: 56.56 kB / 0.7901 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.649e-05/0.005634, allocations: 165.9 kB / 0.7903 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.005645, allocations: 25.7 kB / 0.7903 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.02e-05/0.005696, allocations: 132.3 kB / 0.7905 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.005721, allocations: 11.91 kB / 0.7905 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.005754, allocations: 31.36 kB / 0.7905 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.005872, allocations: 0.4884 MB / 0.791 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.719e-05/0.005889, allocations: 4.562 kB / 0.791 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.899e-05/0.005928, allocations: 54.36 kB / 0.791 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.201e-05/0.00599, allocations: 68.41 kB / 0.7911 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.005992, allocations: 0 / 0.7911 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.617e-05/0.006079, allocations: 83.44 kB / 0.7912 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.006091, allocations: 4 kB / 0.7912 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.006097, allocations: 4 kB / 0.7912 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.00611, allocations: 0.625 kB / 0.7912 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.909e-05/0.006189, allocations: 12.72 kB / 0.7912 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.006196, allocations: 3.938 kB / 0.7912 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.059e-05/0.006217, allocations: 13.14 kB / 0.7912 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.006225, allocations: 4 kB / 0.7912 GB, free: 8.023 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 7.244e-05/0.006298, allocations: 160.7 kB / 0.7914 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-06/0.006307, allocations: 4.625 kB / 0.7914 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.633e-05/0.006334, allocations: 8.938 kB / 0.7914 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.006336, allocations: 0 / 0.7914 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.00634, allocations: 0 / 0.7914 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.006346, allocations: 7.938 kB / 0.7914 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.991e-05/0.006426, allocations: 121.5 kB / 0.7915 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.006427, allocations: 0 / 0.7915 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.56e-05/0.006443, allocations: 4.562 kB / 0.7915 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.006445, allocations: 0.5 kB / 0.7915 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.006452, allocations: 5.062 kB / 0.7915 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.006454, allocations: 3.984 kB / 0.7915 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.006457, allocations: 7.984 kB / 0.7915 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.006562, allocations: 101 kB / 0.7916 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-06/0.006569, allocations: 5.125 kB / 0.7916 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.267e-06/0.006579, allocations: 0 / 0.7916 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.879e-05/0.006598, allocations: 3.984 kB / 0.7916 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.006622, allocations: 8.969 kB / 0.7916 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.006628, allocations: 4 kB / 0.7916 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.587e-05/0.006663, allocations: 127.1 kB / 0.7918 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006663, allocations: 0.8438 kB / 0.7918 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001944/0.006858, allocations: 39.86 kB / 0.7918 GB, free: 7.359 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.0003315/0.007189, allocations: 179.3 kB / 0.792 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.0073, allocations: 42.38 kB / 0.792 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.007301, allocations: 4 kB / 0.792 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.502e-05/0.007326, allocations: 15.69 kB / 0.792 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001053/0.007432, allocations: 0 / 0.792 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002375/0.007669, allocations: 134.2 kB / 0.7922 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.898e-05/0.007698, allocations: 55.36 kB / 0.7922 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.969e-05/0.007718, allocations: 5.516 kB / 0.7922 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.793e-05/0.007736, allocations: 12.5 kB / 0.7922 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of SimCode: time 1.352e-06/0.007737, allocations: 0.5 kB / 0.7922 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of Templates: time 0.003071/0.01081, allocations: 1.312 MB / 0.7935 GB, free: 5.594 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.845007607713342]