Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001911/0.001911, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002328/0.002328, allocations: 199.6 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.934/2.934, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 71.88 kB / 1.109 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9221/0.9242, allocations: 168.7 MB / 1.274 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002887/0.9271, allocations: 1.24 MB / 1.275 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.9283, allocations: 474.4 kB / 1.276 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.725e-05/0.9283, allocations: 0 / 1.276 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.399e-05/0.9283, allocations: 0 / 1.276 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.995e-05/0.9284, allocations: 3.938 kB / 1.276 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006604/0.929, allocations: 115.6 kB / 1.276 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.9291, allocations: 23.92 kB / 1.276 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.326e-05/0.9292, allocations: 3.984 kB / 1.276 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.559e-05/0.9292, allocations: 4 kB / 1.276 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.548e-05/0.9293, allocations: 19.92 kB / 1.276 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.9293, allocations: 0 / 1.276 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003026/0.9296, allocations: 111.8 kB / 1.276 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.067e-05/0.9296, allocations: 4 kB / 1.276 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.349e-05/0.9296, allocations: 11.92 kB / 1.276 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.9299, allocations: 102.4 kB / 1.276 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.9299, allocations: 0 / 1.276 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.555e-06/0.9299, allocations: 0 / 1.276 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.148e-06/0.9299, allocations: 0 / 1.276 GB, free: 2.441 MB / 0.9669 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.000768/0.9307, allocations: 396.8 kB / 1.276 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.9307, allocations: 8.031 kB / 1.276 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.315e-05/0.9308, allocations: 4.938 kB / 1.276 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.931, allocations: 172.2 kB / 1.277 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.931, allocations: 4.359 kB / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.931, allocations: 4.375 kB / 1.277 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.9311, allocations: 38.25 kB / 1.277 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.9311, allocations: 192 / 1.277 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.9312, allocations: 7.938 kB / 1.277 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.9312, allocations: 0 / 1.277 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.701e-05/0.9312, allocations: 8 kB / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002458/0.9315, allocations: 161.7 kB / 1.277 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.9316, allocations: 30.52 kB / 1.277 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.276e-05/0.9316, allocations: 16.94 kB / 1.277 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.9316, allocations: 0 / 1.277 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002045/0.9318, allocations: 55.41 kB / 1.277 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.663e-06/0.9318, allocations: 0 / 1.277 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002784/0.9321, allocations: 77.53 kB / 1.277 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/0.9322, allocations: 55.41 kB / 1.277 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.9323, allocations: 109.8 kB / 1.277 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.9323, allocations: 25.7 kB / 1.277 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.931e-05/0.9324, allocations: 80.14 kB / 1.277 GB, free: 1 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.9324, allocations: 15.91 kB / 1.277 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.9324, allocations: 25.7 kB / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.9326, allocations: 310.8 kB / 1.278 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.596e-05/0.9326, allocations: 11.98 kB / 1.278 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.324e-05/0.9327, allocations: 31.44 kB / 1.278 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.821e-05/0.9328, allocations: 47.36 kB / 1.278 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.9328, allocations: 4 kB / 1.278 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000116/0.9329, allocations: 61.62 kB / 1.278 GB, free: 468 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.9329, allocations: 11.94 kB / 1.278 GB, free: 456 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.9329, allocations: 0 / 1.278 GB, free: 456 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.9329, allocations: 3.938 kB / 1.278 GB, free: 452 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.529e-05/0.933, allocations: 15.94 kB / 1.278 GB, free: 436 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.933, allocations: 256 / 1.278 GB, free: 436 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.759e-05/0.933, allocations: 8.094 kB / 1.278 GB, free: 428 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.9331, allocations: 7.984 kB / 1.278 GB, free: 420 kB / 0.9669 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.0001088/0.9332, allocations: 118.3 kB / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.646e-05/0.9332, allocations: 11.89 kB / 1.278 GB, free: 280 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.608e-05/0.9332, allocations: 3.906 kB / 1.278 GB, free: 272 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.9332, allocations: 0 / 1.278 GB, free: 272 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.9332, allocations: 0 / 1.278 GB, free: 272 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.9332, allocations: 0 / 1.278 GB, free: 272 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.9334, allocations: 153.7 kB / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.9334, allocations: 11.98 kB / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.298e-05/0.9334, allocations: 3.938 kB / 1.278 GB, free: 52 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.9334, allocations: 3.938 kB / 1.278 GB, free: 48 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.9334, allocations: 0 / 1.278 GB, free: 48 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.309e-06/0.9334, allocations: 7.938 kB / 1.278 GB, free: 40 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.9334, allocations: 0 / 1.278 GB, free: 40 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.9336, allocations: 82.67 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.787e-05/0.9337, allocations: 81.06 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.9337, allocations: 11.94 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.061e-05/0.9337, allocations: 0 / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.359e-05/0.9337, allocations: 0 / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.9337, allocations: 11.98 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.161e-05/0.9338, allocations: 79.28 kB / 1.278 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9338, allocations: 0 / 1.278 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002742/0.9341, allocations: 35.92 kB / 1.278 GB, free: 15.71 MB / 0.9825 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.0004517/0.9345, allocations: 170.2 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001305/0.9346, allocations: 27.92 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.9346, allocations: 0 / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.619e-05/0.9347, allocations: 15.94 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.9348, allocations: 4 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003162/0.9351, allocations: 122.9 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.9355, allocations: 0.6848 MB / 1.279 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.302e-05/0.9355, allocations: 7.938 kB / 1.279 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.9355, allocations: 7.438 kB / 1.279 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.9355, allocations: 0 / 1.279 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of Templates: time 0.004655/0.9402, allocations: 1.082 MB / 1.28 GB, free: 13.54 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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,D,seed,t0,time,y [Calling sys.exit(0), Time elapsed: 9.358470770996064]