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.001651/0.001651, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001799/0.001799, allocations: 160.8 kB / 22.46 MB, free: 5.375 MB / 14.72 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.587/1.587, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.1 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.722/2.722, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] 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.803e-06/1.803e-06, allocations: 3.938 kB / 0.9509 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.666e-05/3.846e-05, allocations: 6.219 kB / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002676/0.002714, allocations: 1.242 MB / 0.9522 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.003813, allocations: 451 kB / 0.9526 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.499e-05/0.003848, allocations: 0 / 0.9526 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.759e-05/0.003866, allocations: 0 / 0.9526 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.674e-05/0.003923, allocations: 3.938 kB / 0.9526 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007028/0.004625, allocations: 131.4 kB / 0.9527 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.566e-05/0.004701, allocations: 19.92 kB / 0.9527 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4e-05/0.004741, allocations: 4 kB / 0.9527 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5e-05/0.004791, allocations: 15.98 kB / 0.9527 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.524e-05/0.004826, allocations: 7.969 kB / 0.9528 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.004845, allocations: 4 kB / 0.9528 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003263/0.005171, allocations: 139.6 kB / 0.9529 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.226e-05/0.005194, allocations: 15.92 kB / 0.9529 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.106e-05/0.005225, allocations: 7.984 kB / 0.9529 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.005518, allocations: 115.7 kB / 0.953 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.005523, allocations: 7.938 kB / 0.953 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.52e-07/0.005524, allocations: 0 / 0.953 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.00553, allocations: 0 / 0.953 GB, free: 9.445 MB / 0.8575 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.0006/0.00613, allocations: 307.8 kB / 0.9533 GB, free: 9.105 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.006173, allocations: 15.97 kB / 0.9533 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.709e-05/0.00622, allocations: 8.875 kB / 0.9534 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.006343, allocations: 113.8 kB / 0.9535 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.006368, allocations: 384 / 0.9535 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.006382, allocations: 4.375 kB / 0.9535 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.006517, allocations: 46.25 kB / 0.9535 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.006528, allocations: 4.125 kB / 0.9535 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.006539, allocations: 384 / 0.9535 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.006544, allocations: 384 / 0.9535 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.461e-05/0.006589, allocations: 11.92 kB / 0.9535 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001764/0.006765, allocations: 109.3 kB / 0.9536 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.408e-05/0.006859, allocations: 26.58 kB / 0.9537 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.867e-05/0.006908, allocations: 12.86 kB / 0.9537 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.006922, allocations: 0 / 0.9537 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000175/0.007097, allocations: 67.42 kB / 0.9537 GB, free: 8.609 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.007098, allocations: 0 / 0.9537 GB, free: 8.609 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0002721/0.00737, allocations: 77.62 kB / 0.9538 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.007424, allocations: 55.41 kB / 0.9539 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.98e-05/0.007514, allocations: 102.2 kB / 0.954 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.007536, allocations: 29.7 kB / 0.954 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.509e-05/0.007591, allocations: 84.12 kB / 0.9541 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.007615, allocations: 11.91 kB / 0.9541 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.385e-05/0.007659, allocations: 25.66 kB / 0.9541 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.007816, allocations: 318.8 kB / 0.9544 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.334e-05/0.007839, allocations: 8 kB / 0.9544 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.232e-05/0.007892, allocations: 48.22 kB / 0.9545 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.933e-05/0.007971, allocations: 56.28 kB / 0.9545 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.217e-06/0.007975, allocations: 4 kB / 0.9545 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001164/0.008092, allocations: 73.61 kB / 0.9546 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.008105, allocations: 7.938 kB / 0.9546 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.00811, allocations: 128 / 0.9546 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.008125, allocations: 8 kB / 0.9546 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.214e-05/0.008208, allocations: 12 kB / 0.9546 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.008215, allocations: 3.938 kB / 0.9546 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.862e-05/0.008244, allocations: 4 kB / 0.9546 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.008254, allocations: 4 kB / 0.9546 GB, free: 7.605 MB / 0.8575 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 9.254e-05/0.008347, allocations: 109.8 kB / 0.9547 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/0.008365, allocations: 11.94 kB / 0.9547 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.181e-05/0.008386, allocations: 3.812 kB / 0.9547 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.008388, allocations: 0 / 0.9547 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.008392, allocations: 3.938 kB / 0.9547 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.008399, allocations: 11.94 kB / 0.9548 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.008514, allocations: 113.2 kB / 0.9549 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.008515, allocations: 0 / 0.9549 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.28e-05/0.008537, allocations: 4 kB / 0.9549 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.008539, allocations: 0 / 0.9549 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.008547, allocations: 0 / 0.9549 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.008548, allocations: 0 / 0.9549 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.008548, allocations: 0 / 0.9549 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.008709, allocations: 101 kB / 0.955 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-06/0.008715, allocations: 0 / 0.955 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.00873, allocations: 4 kB / 0.955 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.102e-05/0.008752, allocations: 4 kB / 0.955 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.628e-05/0.008778, allocations: 3.984 kB / 0.955 GB, free: 7.184 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-06/0.008786, allocations: 4 kB / 0.955 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.494e-05/0.008841, allocations: 91.28 kB / 0.9551 GB, free: 7.09 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.008841, allocations: 3.938 kB / 0.9551 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002631/0.009104, allocations: 39.86 kB / 0.9551 GB, free: 7.047 MB / 0.8575 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.0003986/0.009503, allocations: 175.6 kB / 0.9553 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000122/0.009625, allocations: 35.92 kB / 0.9553 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.009626, allocations: 0 / 0.9553 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.909e-05/0.009665, allocations: 8 kB / 0.9553 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.009807, allocations: 11.92 kB / 0.9553 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002785/0.01009, allocations: 116.9 kB / 0.9554 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.488e-05/0.01014, allocations: 59.34 kB / 0.9555 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.645e-05/0.01017, allocations: 8.25 kB / 0.9555 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.371e-05/0.01019, allocations: 12.5 kB / 0.9555 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of SimCode: time 3.11e-07/0.01019, allocations: 0 / 0.9555 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of Templates: time 0.00425/0.01444, allocations: 1.155 MB / 0.9566 GB, free: 5.445 MB / 0.8575 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) [Timeout 400] 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.023903954774141]