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.002488/0.002488, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.002979/0.002979, 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.55/1.55, allocations: 177.1 MB / 203.9 MB, free: 5.617 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.959/2.959, allocations: 359 MB / 0.6048 GB, free: 10.96 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.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 2.274e-06/2.274e-06, allocations: 0 / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.467e-05/3.694e-05, allocations: 2.312 kB / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.003874/0.003911, allocations: 1.253 MB / 0.7876 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001545/0.005456, allocations: 463 kB / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.033e-05/0.005486, allocations: 0.5625 kB / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.305e-05/0.005509, allocations: 5.188 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.858e-05/0.005578, allocations: 7.984 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00085/0.006428, allocations: 119.4 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.006529, allocations: 25.53 kB / 0.7882 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.776e-05/0.006577, allocations: 4 kB / 0.7882 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.282e-05/0.00663, allocations: 11.98 kB / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.086e-05/0.006671, allocations: 4 kB / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.006695, allocations: 5.219 kB / 0.7882 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004797/0.007175, allocations: 139.7 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.418e-05/0.007209, allocations: 15.97 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.218e-05/0.007251, allocations: 4.625 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003384/0.00759, allocations: 123.6 kB / 0.7885 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.007594, allocations: 0.9062 kB / 0.7885 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.412e-06/0.007595, allocations: 0 / 0.7885 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.0076, allocations: 4.656 kB / 0.7885 GB, free: 10.69 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.000778/0.008378, allocations: 411.3 kB / 0.7889 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.008426, allocations: 12.03 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.006e-05/0.008486, allocations: 0.9375 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.008655, allocations: 116.6 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.008683, allocations: 1.062 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.008704, allocations: 4.375 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.008861, allocations: 53.58 kB / 0.789 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.008872, allocations: 192 / 0.789 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.008883, allocations: 384 / 0.789 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.008889, allocations: 384 / 0.789 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.672e-05/0.008946, allocations: 7.938 kB / 0.789 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002417/0.009187, allocations: 128.6 kB / 0.7892 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.009304, allocations: 27.06 kB / 0.7892 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.664e-05/0.00938, allocations: 23.81 kB / 0.7892 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.009394, allocations: 3.938 kB / 0.7892 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001771/0.009571, allocations: 61.78 kB / 0.7893 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.009572, allocations: 1.656 kB / 0.7893 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.000395/0.009967, allocations: 77.67 kB / 0.7893 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/0.01004, allocations: 55.34 kB / 0.7894 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.01024, allocations: 169.9 kB / 0.7896 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.01027, allocations: 27.02 kB / 0.7896 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.01039, allocations: 126.9 kB / 0.7897 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/0.01043, allocations: 19.89 kB / 0.7897 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.746e-05/0.01051, allocations: 27.36 kB / 0.7898 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003777/0.01089, allocations: 0.489 MB / 0.7902 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.09e-05/0.01093, allocations: 9.328 kB / 0.7902 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.01103, allocations: 54.44 kB / 0.7903 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.01119, allocations: 71.73 kB / 0.7904 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.01119, allocations: 0 / 0.7904 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002082/0.0114, allocations: 82.73 kB / 0.7904 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.01142, allocations: 4.531 kB / 0.7904 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.01143, allocations: 4 kB / 0.7904 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.01145, allocations: 4.469 kB / 0.7905 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.01158, allocations: 16.86 kB / 0.7905 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.01159, allocations: 4.094 kB / 0.7905 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.998e-05/0.01165, allocations: 8.75 kB / 0.7905 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.01167, allocations: 7.984 kB / 0.7905 GB, free: 8.371 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 0.0001797/0.01185, allocations: 161 kB / 0.7906 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.01188, allocations: 5.375 kB / 0.7906 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.542e-05/0.01191, allocations: 7.797 kB / 0.7907 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.01192, allocations: 4 kB / 0.7907 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.01192, allocations: 0 / 0.7907 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.01193, allocations: 9.125 kB / 0.7907 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.01212, allocations: 113.1 kB / 0.7908 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01212, allocations: 0 / 0.7908 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.389e-05/0.01216, allocations: 8.734 kB / 0.7908 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.01216, allocations: 4 kB / 0.7908 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.01217, allocations: 0.625 kB / 0.7908 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01217, allocations: 0 / 0.7908 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01218, allocations: 0.8125 kB / 0.7908 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.01245, allocations: 120.2 kB / 0.7909 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.646e-06/0.01245, allocations: 0.9375 kB / 0.7909 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.01247, allocations: 0 / 0.7909 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.452e-05/0.01252, allocations: 4 kB / 0.7909 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.01255, allocations: 1.219 kB / 0.7909 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.01256, allocations: 0 / 0.7909 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001155/0.01267, allocations: 135.1 kB / 0.791 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.91e-07/0.01267, allocations: 4.969 kB / 0.791 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004523/0.01313, allocations: 35.88 kB / 0.7911 GB, free: 7.707 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.0006588/0.01379, allocations: 166.4 kB / 0.7912 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001914/0.01398, allocations: 50.98 kB / 0.7913 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01398, allocations: 0 / 0.7913 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.647e-05/0.01405, allocations: 19.67 kB / 0.7913 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.01428, allocations: 14.12 kB / 0.7913 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004177/0.0147, allocations: 122.2 kB / 0.7914 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.012e-05/0.01479, allocations: 63.34 kB / 0.7915 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.399e-05/0.01482, allocations: 4.969 kB / 0.7915 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/0.01485, allocations: 8.5 kB / 0.7915 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of SimCode: time 9.12e-07/0.01485, allocations: 0.5 kB / 0.7915 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of Templates: time 0.006626/0.02148, allocations: 1.176 MB / 0.7927 GB, free: 6.078 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.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,C,seed,t0,time,y [Calling sys.exit(0), Time elapsed: 8.037252158042975]