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.001596/0.001596, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 195 kB / 16.14 MB, free: 6.648 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.365/1.365, allocations: 222.9 MB / 239.8 MB, free: 4.586 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.387/2.387, allocations: 390.2 MB / 0.6642 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 63.89 kB / 0.8118 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7686/0.7699, allocations: 140.4 MB / 0.9489 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002074/0.772, allocations: 1.279 MB / 0.9502 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008492/0.7728, allocations: 482.5 kB / 0.9506 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.358e-05/0.7729, allocations: 4 kB / 0.9506 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.973e-05/0.7729, allocations: 3.938 kB / 0.9506 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.8e-05/0.773, allocations: 0 / 0.9506 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004335/0.7734, allocations: 89.28 kB / 0.9507 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.067e-05/0.7735, allocations: 22.17 kB / 0.9507 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.142e-05/0.7735, allocations: 2.594 kB / 0.9507 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.088e-05/0.7735, allocations: 8 kB / 0.9507 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.816e-05/0.7736, allocations: 14.42 kB / 0.9508 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.7736, allocations: 2.406 kB / 0.9508 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001891/0.7738, allocations: 101.6 kB / 0.9509 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.7738, allocations: 8.984 kB / 0.9509 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.66e-05/0.7738, allocations: 11.97 kB / 0.9509 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.774, allocations: 100.5 kB / 0.951 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.774, allocations: 0 / 0.951 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.012e-06/0.774, allocations: 0 / 0.951 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.774, allocations: 0 / 0.951 GB, free: 7.516 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.0004027/0.7744, allocations: 381.4 kB / 0.9513 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.7745, allocations: 8.469 kB / 0.9513 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.7745, allocations: 11.31 kB / 0.9514 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.739e-05/0.7746, allocations: 169.6 kB / 0.9515 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.7746, allocations: 10.73 kB / 0.9515 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.7747, allocations: 1.469 kB / 0.9515 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.7748, allocations: 36.19 kB / 0.9516 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.7748, allocations: 4.125 kB / 0.9516 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.7748, allocations: 8.672 kB / 0.9516 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.7748, allocations: 1.375 kB / 0.9516 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.381e-05/0.7749, allocations: 7.094 kB / 0.9516 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001229/0.775, allocations: 158.4 kB / 0.9517 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.149e-05/0.7751, allocations: 30.2 kB / 0.9518 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.152e-05/0.7751, allocations: 18.16 kB / 0.9518 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.7751, allocations: 1.281 kB / 0.9518 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001363/0.7753, allocations: 55.91 kB / 0.9518 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.7753, allocations: 0 / 0.9518 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.000205/0.7755, allocations: 79.36 kB / 0.9519 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.7755, allocations: 52.75 kB / 0.952 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.999e-05/0.7756, allocations: 108.8 kB / 0.9521 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.807e-06/0.7756, allocations: 31.23 kB / 0.9521 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.439e-05/0.7756, allocations: 80.14 kB / 0.9522 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.7757, allocations: 10.56 kB / 0.9522 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.7757, allocations: 23.3 kB / 0.9522 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.064e-05/0.7757, allocations: 312.2 kB / 0.9525 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.141e-05/0.7758, allocations: 16.61 kB / 0.9525 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.012e-05/0.7758, allocations: 29.62 kB / 0.9525 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.439e-05/0.7759, allocations: 45.22 kB / 0.9526 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7759, allocations: 0 / 0.9526 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.852e-05/0.776, allocations: 73.05 kB / 0.9527 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.776, allocations: 9.031 kB / 0.9527 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.776, allocations: 1.5 kB / 0.9527 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.776, allocations: 1.531 kB / 0.9527 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.999e-05/0.7761, allocations: 6.594 kB / 0.9527 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.7761, allocations: 1.656 kB / 0.9527 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.599e-05/0.7761, allocations: 5.156 kB / 0.9527 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.7761, allocations: 5.594 kB / 0.9527 GB, free: 5.684 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 5.955e-05/0.7762, allocations: 120.9 kB / 0.9528 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.7762, allocations: 6.906 kB / 0.9528 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.449e-05/0.7763, allocations: 11.84 kB / 0.9528 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.7763, allocations: 1.562 kB / 0.9528 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.7763, allocations: 0 / 0.9528 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.7763, allocations: 0 / 0.9528 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.051e-05/0.7764, allocations: 162.9 kB / 0.953 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.7764, allocations: 0 / 0.953 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.457e-05/0.7764, allocations: 6.297 kB / 0.953 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.7764, allocations: 3.938 kB / 0.953 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.7764, allocations: 5.438 kB / 0.953 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.7764, allocations: 0 / 0.953 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.7764, allocations: 1.672 kB / 0.953 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.7765, allocations: 93.88 kB / 0.9531 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.153e-05/0.7766, allocations: 78.77 kB / 0.9532 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.7766, allocations: 5.281 kB / 0.9532 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.161e-05/0.7766, allocations: 0 / 0.9532 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.544e-05/0.7766, allocations: 1.75 kB / 0.9532 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.7767, allocations: 9.188 kB / 0.9532 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.814e-05/0.7767, allocations: 92.77 kB / 0.9533 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7767, allocations: 0 / 0.9533 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002484/0.7769, allocations: 27.22 kB / 0.9533 GB, free: 5.035 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.000338/0.7773, allocations: 163.3 kB / 0.9534 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.7774, allocations: 33.45 kB / 0.9535 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7774, allocations: 0 / 0.9535 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.876e-05/0.7775, allocations: 11.75 kB / 0.9535 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.7776, allocations: 6.688 kB / 0.9535 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002256/0.7778, allocations: 116.5 kB / 0.9536 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.7779, allocations: 0.6833 MB / 0.9543 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.225e-05/0.778, allocations: 5.188 kB / 0.9543 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.778, allocations: 10.16 kB / 0.9543 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of SimCode: time 5.81e-07/0.778, allocations: 0 / 0.9543 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of Templates: time 0.003195/0.7812, allocations: 1.068 MB / 0.9553 GB, free: 3.496 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