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.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.001548/0.001548, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.0022/0.0022, allocations: 220 kB / 22.24 MB, free: 5.109 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.66/1.66, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.033/3.033, allocations: 476 MB / 0.7699 GB, free: 4.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002215, allocations: 67.75 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4395/0.4417, allocations: 169.9 MB / 1.283 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002756/0.4444, allocations: 1.259 MB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.4456, allocations: 472.3 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.901e-05/0.4456, allocations: 3.938 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.895e-05/0.4456, allocations: 0 / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.214e-05/0.4457, allocations: 7.938 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006511/0.4463, allocations: 123.5 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.99e-05/0.4464, allocations: 16 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.173e-05/0.4464, allocations: 3.984 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.49e-05/0.4465, allocations: 7.984 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.554e-05/0.4465, allocations: 19.92 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.4465, allocations: 4 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003202/0.4469, allocations: 139.7 kB / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.943e-05/0.4469, allocations: 7.938 kB / 1.285 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.796e-05/0.4469, allocations: 11.98 kB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.4472, allocations: 103.7 kB / 1.285 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4472, allocations: 0 / 1.285 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4472, allocations: 3.938 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.4472, allocations: 3.938 kB / 1.285 GB, free: 9.789 MB / 0.9825 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.0006124/0.4478, allocations: 315.7 kB / 1.285 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.4478, allocations: 11.97 kB / 1.285 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/0.4479, allocations: 4.938 kB / 1.285 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.448, allocations: 114.5 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.448, allocations: 4.375 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.448, allocations: 384 / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.4482, allocations: 38.25 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.4482, allocations: 192 / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.4482, allocations: 7.938 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.4482, allocations: 0 / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.521e-05/0.4482, allocations: 7.984 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.4484, allocations: 105.3 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.4485, allocations: 34.55 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.361e-05/0.4485, allocations: 8.859 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.4485, allocations: 0 / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/0.4487, allocations: 59.48 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.4487, allocations: 0 / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002447/0.4489, allocations: 77.5 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/0.449, allocations: 55.41 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.122e-05/0.4491, allocations: 101.8 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.4491, allocations: 33.7 kB / 1.286 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.127e-05/0.4492, allocations: 84.14 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.4492, allocations: 7.891 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.4492, allocations: 25.7 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.4494, allocations: 318.8 kB / 1.286 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.099e-05/0.4494, allocations: 4 kB / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.575e-05/0.4494, allocations: 35.42 kB / 1.286 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.912e-05/0.4495, allocations: 51.55 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4495, allocations: 4 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001052/0.4496, allocations: 69.58 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.4496, allocations: 10.33 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.4496, allocations: 3.938 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.4497, allocations: 7.938 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.814e-05/0.4497, allocations: 4 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.4497, allocations: 4 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.337e-05/0.4498, allocations: 256 / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.4498, allocations: 4 kB / 1.287 GB, free: 8.004 MB / 0.9825 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 9.762e-05/0.4499, allocations: 121.9 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.448e-06/0.4499, allocations: 0 / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.134e-05/0.4499, allocations: 11.92 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.4499, allocations: 7.938 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.4499, allocations: 0 / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4499, allocations: 0 / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.4501, allocations: 109.3 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.4501, allocations: 0 / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.528e-05/0.4501, allocations: 3.938 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.4501, allocations: 4 kB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.4501, allocations: 0 / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.4501, allocations: 7.938 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.4501, allocations: 0 / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.4502, allocations: 93.06 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-06/0.4502, allocations: 0 / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.4503, allocations: 4 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.291e-05/0.4503, allocations: 3.938 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.886e-05/0.4503, allocations: 3.984 kB / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.4503, allocations: 4 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.396e-05/0.4504, allocations: 83.28 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.4504, allocations: 0 / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002477/0.4506, allocations: 39.86 kB / 1.287 GB, free: 7.453 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.0004508/0.4511, allocations: 181.3 kB / 1.287 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001233/0.4512, allocations: 23.98 kB / 1.287 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4512, allocations: 0 / 1.287 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.425e-05/0.4512, allocations: 23.86 kB / 1.287 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.4514, allocations: 4.188 kB / 1.287 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002811/0.4517, allocations: 113 kB / 1.287 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.249e-05/0.4517, allocations: 59.34 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.252e-05/0.4517, allocations: 4 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.917e-05/0.4518, allocations: 7.438 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.4518, allocations: 0 / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of Templates: time 0.004347/0.4561, allocations: 1.174 MB / 1.289 GB, free: 5.84 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.873125646263361]