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.001901/0.001901, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002051/0.002051, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.558/1.558, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 2.899/2.899, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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.273e-06/1.273e-06, allocations: 0 / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.417e-05, allocations: 2.312 kB / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002508/0.002532, allocations: 1.247 MB / 0.7876 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009995/0.003532, allocations: 456.4 kB / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.123e-05/0.003553, allocations: 0 / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.649e-05/0.003569, allocations: 3.938 kB / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.076e-05/0.00361, allocations: 0.8438 kB / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005432/0.004153, allocations: 115.4 kB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.244e-05/0.004226, allocations: 24.47 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 2.911e-05/0.004255, allocations: 0.6875 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.78e-05/0.004293, allocations: 11.98 kB / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.616e-05/0.004319, allocations: 4.891 kB / 0.7882 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.004336, allocations: 4 kB / 0.7882 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003274/0.004663, allocations: 144.3 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.004681, allocations: 7.922 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.831e-05/0.00471, allocations: 4.5 kB / 0.7883 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.004948, allocations: 119.1 kB / 0.7884 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.674e-06/0.00495, allocations: 0 / 0.7884 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.31e-07/0.00495, allocations: 0 / 0.7884 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.004954, allocations: 0 / 0.7884 GB, free: 10.74 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.0005732/0.005527, allocations: 409.7 kB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.005561, allocations: 8.031 kB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.005608, allocations: 8.891 kB / 0.7888 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.00573, allocations: 112.6 kB / 0.7889 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.005756, allocations: 4.375 kB / 0.7889 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.876e-06/0.005765, allocations: 1.094 kB / 0.7889 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.005874, allocations: 38.25 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.005884, allocations: 1.844 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.005891, allocations: 384 / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.005895, allocations: 4.312 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.358e-05/0.005928, allocations: 7.938 kB / 0.789 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.006097, allocations: 118 kB / 0.7891 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.006204, allocations: 39.09 kB / 0.7891 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.651e-05/0.006241, allocations: 11.69 kB / 0.7891 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.006252, allocations: 1.594 kB / 0.7892 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001407/0.006393, allocations: 73.06 kB / 0.7892 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.006394, allocations: 0 / 0.7892 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0002357/0.00663, allocations: 66.83 kB / 0.7893 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.006684, allocations: 59.39 kB / 0.7893 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.006818, allocations: 161.9 kB / 0.7895 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.00684, allocations: 27.11 kB / 0.7895 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.094e-05/0.006921, allocations: 134.9 kB / 0.7896 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.006941, allocations: 7.938 kB / 0.7897 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.891e-05/0.00699, allocations: 27.38 kB / 0.7897 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002572/0.007247, allocations: 496.7 kB / 0.7902 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.186e-05/0.007269, allocations: 8.484 kB / 0.7902 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.418e-05/0.007343, allocations: 46.69 kB / 0.7902 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.829e-05/0.007431, allocations: 64.08 kB / 0.7903 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.007433, allocations: 0.8125 kB / 0.7903 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001171/0.007551, allocations: 66.16 kB / 0.7903 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.007564, allocations: 5.375 kB / 0.7903 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.007568, allocations: 4 kB / 0.7903 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.007582, allocations: 3.938 kB / 0.7903 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.5e-05/0.007657, allocations: 11.98 kB / 0.7904 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.007667, allocations: 9.375 kB / 0.7904 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.826e-05/0.007695, allocations: 11.83 kB / 0.7904 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.007706, allocations: 4 kB / 0.7904 GB, free: 8.492 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.0001239/0.00783, allocations: 169.2 kB / 0.7905 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.007842, allocations: 0.7188 kB / 0.7905 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.007866, allocations: 3.688 kB / 0.7905 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.00787, allocations: 5.125 kB / 0.7906 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.007873, allocations: 0 / 0.7906 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.007879, allocations: 3.938 kB / 0.7906 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.008012, allocations: 121.4 kB / 0.7907 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.008013, allocations: 0 / 0.7907 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.096e-05/0.008024, allocations: 1.219 kB / 0.7907 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.008028, allocations: 4 kB / 0.7907 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.008035, allocations: 0 / 0.7907 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.008039, allocations: 4.922 kB / 0.7907 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.00804, allocations: 0 / 0.7907 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.008228, allocations: 104.3 kB / 0.7908 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.746e-06/0.008237, allocations: 6.219 kB / 0.7908 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.008251, allocations: 4.453 kB / 0.7908 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.926e-05/0.008271, allocations: 0 / 0.7908 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-05/0.008295, allocations: 0 / 0.7908 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.008303, allocations: 4 kB / 0.7908 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.173e-05/0.008385, allocations: 135.1 kB / 0.7909 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.008385, allocations: 7.188 kB / 0.7909 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002401/0.008625, allocations: 23.94 kB / 0.791 GB, free: 7.844 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.0004565/0.009081, allocations: 173.9 kB / 0.7911 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001476/0.009229, allocations: 40.75 kB / 0.7912 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.00923, allocations: 0 / 0.7912 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.697e-05/0.009277, allocations: 19.69 kB / 0.7912 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.009414, allocations: 4.562 kB / 0.7912 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002836/0.009698, allocations: 122.8 kB / 0.7913 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.745e-05/0.009755, allocations: 55.92 kB / 0.7914 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.326e-05/0.009779, allocations: 9.047 kB / 0.7914 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.984e-05/0.009798, allocations: 12.44 kB / 0.7914 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of SimCode: time 4.21e-07/0.009799, allocations: 0.875 kB / 0.7914 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of Templates: time 0.004444/0.01424, allocations: 1.132 MB / 0.7925 GB, free: 6.266 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",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 [Calling sys.exit(0), Time elapsed: 8.209901788039133]