Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001976/0.001976, allocations: 193.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.423/2.423, allocations: 390.2 MB / 0.6646 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.91 kB / 0.8125 GB, free: 14.49 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7866/0.7879, allocations: 140.4 MB / 0.9496 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002215/0.7901, allocations: 1.222 MB / 0.9508 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008854/0.791, allocations: 467.9 kB / 0.9512 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.481e-05/0.7911, allocations: 0 / 0.9512 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.998e-05/0.7911, allocations: 0 / 0.9512 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.418e-05/0.7911, allocations: 5.031 kB / 0.9512 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005081/0.7917, allocations: 110.5 kB / 0.9513 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.703e-05/0.7918, allocations: 18.61 kB / 0.9513 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.285e-05/0.7918, allocations: 5.344 kB / 0.9513 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.569e-05/0.7918, allocations: 16.17 kB / 0.9514 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.301e-05/0.7919, allocations: 12.06 kB / 0.9514 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.7919, allocations: 1.406 kB / 0.9514 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000198/0.7921, allocations: 103.5 kB / 0.9515 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.573e-05/0.7921, allocations: 5.188 kB / 0.9515 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.06e-05/0.7922, allocations: 15.81 kB / 0.9515 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.7923, allocations: 91.3 kB / 0.9516 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.7924, allocations: 0 / 0.9516 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7924, allocations: 1 kB / 0.9516 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.7924, allocations: 0 / 0.9516 GB, free: 7.59 MB / 0.7169 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.000411/0.7928, allocations: 393.9 kB / 0.952 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.7928, allocations: 10.5 kB / 0.952 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.7929, allocations: 9.797 kB / 0.952 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.677e-05/0.793, allocations: 171 kB / 0.9521 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.793, allocations: 1.5 kB / 0.9521 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.793, allocations: 3.188 kB / 0.9521 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.209e-05/0.7931, allocations: 38.84 kB / 0.9522 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.7931, allocations: 192 / 0.9522 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.7931, allocations: 5.375 kB / 0.9522 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.7931, allocations: 4 kB / 0.9522 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.134e-05/0.7932, allocations: 7.703 kB / 0.9522 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001207/0.7933, allocations: 158 kB / 0.9523 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.371e-05/0.7934, allocations: 35.27 kB / 0.9524 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.116e-05/0.7934, allocations: 13.33 kB / 0.9524 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.392e-06/0.7934, allocations: 5.281 kB / 0.9524 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001252/0.7936, allocations: 60.02 kB / 0.9525 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.7936, allocations: 0 / 0.9525 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001888/0.7938, allocations: 70.88 kB / 0.9525 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.7938, allocations: 61.2 kB / 0.9526 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.902e-05/0.7939, allocations: 100.3 kB / 0.9527 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.507e-06/0.7939, allocations: 27.45 kB / 0.9527 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.281e-05/0.7939, allocations: 85.62 kB / 0.9528 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.7939, allocations: 13.72 kB / 0.9528 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.794, allocations: 17.97 kB / 0.9528 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.907e-05/0.794, allocations: 317 kB / 0.9531 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.001e-05/0.794, allocations: 7.875 kB / 0.9531 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.025e-05/0.7941, allocations: 34.61 kB / 0.9532 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.106e-05/0.7941, allocations: 45.66 kB / 0.9532 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.7941, allocations: 0 / 0.9532 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.814e-05/0.7942, allocations: 69.45 kB / 0.9533 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.7942, allocations: 8.688 kB / 0.9533 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.7943, allocations: 2.406 kB / 0.9533 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.7943, allocations: 0 / 0.9533 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.555e-05/0.7943, allocations: 22.73 kB / 0.9533 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.7944, allocations: 1.375 kB / 0.9533 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.51e-05/0.7944, allocations: 9.219 kB / 0.9533 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.7944, allocations: 2.625 kB / 0.9533 GB, free: 5.742 MB / 0.7169 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 4.725e-05/0.7944, allocations: 108.6 kB / 0.9534 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/0.7945, allocations: 10.03 kB / 0.9534 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.123e-05/0.7945, allocations: 5.25 kB / 0.9534 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.7945, allocations: 0 / 0.9534 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.7945, allocations: 1.219 kB / 0.9534 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.7945, allocations: 3.984 kB / 0.9534 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.117e-05/0.7946, allocations: 162.6 kB / 0.9536 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.7946, allocations: 0 / 0.9536 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.578e-05/0.7946, allocations: 2.531 kB / 0.9536 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.7946, allocations: 11.81 kB / 0.9536 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.7946, allocations: 1.125 kB / 0.9536 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.7946, allocations: 1.156 kB / 0.9536 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.7946, allocations: 3.984 kB / 0.9536 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.7948, allocations: 86.98 kB / 0.9537 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.538e-05/0.7948, allocations: 82.39 kB / 0.9538 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.7948, allocations: 5.219 kB / 0.9538 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.086e-05/0.7948, allocations: 0 / 0.9538 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.824e-05/0.7948, allocations: 5.234 kB / 0.9538 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.7949, allocations: 2.188 kB / 0.9538 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.341e-05/0.7949, allocations: 88.31 kB / 0.9539 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.7949, allocations: 0 / 0.9539 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002367/0.7951, allocations: 35.11 kB / 0.9539 GB, free: 5.105 MB / 0.7169 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.000292/0.7954, allocations: 172.5 kB / 0.9541 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001075/0.7955, allocations: 29.8 kB / 0.9541 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.7956, allocations: 0 / 0.9541 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.854e-05/0.7956, allocations: 20.14 kB / 0.9541 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.7957, allocations: 1.906 kB / 0.9541 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002042/0.796, allocations: 114 kB / 0.9542 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.437e-05/0.7961, allocations: 0.6825 MB / 0.9549 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.015e-05/0.7961, allocations: 2.344 kB / 0.9549 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.337e-05/0.7961, allocations: 9.656 kB / 0.9549 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.7961, allocations: 0 / 0.9549 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of Templates: time 0.003113/0.7992, allocations: 1.07 MB / 0.9559 GB, free: 3.574 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,C,D,seed,t0,time,y