Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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.001612/0.001612, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00184/0.00184, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.502/1.502, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.907/2.907, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 62.77 kB / 0.8984 GB, free: 37.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3692, allocations: 157.4 MB / 1.052 GB, free: 8.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002977/0.3723, allocations: 1.286 MB / 1.053 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.3734, allocations: 478.5 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.628e-05/0.3735, allocations: 3.938 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.659e-05/0.3735, allocations: 3.938 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.115e-05/0.3736, allocations: 0 / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006236/0.3742, allocations: 91.77 kB / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.507e-05/0.3743, allocations: 23.92 kB / 1.054 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.754e-05/0.3744, allocations: 0 / 1.054 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.281e-05/0.3744, allocations: 8 kB / 1.054 GB, free: 7 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.784e-05/0.3744, allocations: 15.92 kB / 1.054 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.3745, allocations: 0 / 1.054 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002356/0.3747, allocations: 99.84 kB / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.238e-05/0.3747, allocations: 11.92 kB / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.354e-05/0.3748, allocations: 11.92 kB / 1.054 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.375, allocations: 95.81 kB / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.375, allocations: 0 / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.02e-07/0.375, allocations: 0 / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.375, allocations: 0 / 1.054 GB, free: 6.77 MB / 0.8106 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.000509/0.3755, allocations: 393.3 kB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.3756, allocations: 8.031 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.3756, allocations: 4.938 kB / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.3757, allocations: 164.4 kB / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.3758, allocations: 384 / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.3758, allocations: 4.375 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.3759, allocations: 46.17 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.3759, allocations: 192 / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.3759, allocations: 11.88 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.3759, allocations: 0 / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.411e-05/0.376, allocations: 8 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/0.3762, allocations: 157.7 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.172e-05/0.3763, allocations: 26.58 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.952e-05/0.3763, allocations: 12.86 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.3763, allocations: 96 / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.3765, allocations: 71.23 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.753e-06/0.3765, allocations: 0 / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002322/0.3768, allocations: 69.61 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.3768, allocations: 51.41 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.812e-05/0.3769, allocations: 105.8 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.3769, allocations: 25.7 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/0.377, allocations: 92.14 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.377, allocations: 11.78 kB / 1.055 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.3771, allocations: 29.64 kB / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.3772, allocations: 318.8 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.245e-05/0.3772, allocations: 4 kB / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.08e-05/0.3772, allocations: 35.42 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.26e-05/0.3773, allocations: 47.38 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3773, allocations: 0 / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001082/0.3774, allocations: 73.75 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3775, allocations: 7.938 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3775, allocations: 3.984 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3775, allocations: 4 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.162e-05/0.3776, allocations: 4 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.3776, allocations: 8.344 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.912e-05/0.3776, allocations: 4.094 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.3776, allocations: 8 kB / 1.056 GB, free: 4.738 MB / 0.8106 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 7.752e-05/0.3777, allocations: 117.8 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.346e-05/0.3777, allocations: 7.938 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.719e-05/0.3778, allocations: 3.906 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3778, allocations: 0 / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3778, allocations: 0 / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3778, allocations: 4 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.3779, allocations: 157.6 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3779, allocations: 4 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.601e-05/0.3779, allocations: 0 / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/0.378, allocations: 7.938 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.378, allocations: 3.984 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.378, allocations: 0 / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.378, allocations: 0 / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.3781, allocations: 89 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.929e-05/0.3782, allocations: 81.09 kB / 1.056 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.3782, allocations: 3.938 kB / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.319e-05/0.3782, allocations: 4 kB / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.377e-05/0.3783, allocations: 8 kB / 1.056 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.3783, allocations: 0 / 1.056 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.399e-05/0.3783, allocations: 83.27 kB / 1.056 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.324e-06/0.3783, allocations: 0 / 1.056 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002924/0.3786, allocations: 39.94 kB / 1.056 GB, free: 4.035 MB / 0.8106 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.0003612/0.379, allocations: 164.2 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001116/0.3791, allocations: 35.91 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3791, allocations: 0 / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.726e-05/0.3792, allocations: 12 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.3793, allocations: 0 / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002801/0.3796, allocations: 130.7 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.3798, allocations: 0.677 MB / 1.057 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.539e-05/0.3799, allocations: 3.984 kB / 1.057 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.116e-05/0.3799, allocations: 11.44 kB / 1.057 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.3799, allocations: 3.938 kB / 1.057 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of Templates: time 0.003636/0.3835, allocations: 1.058 MB / 1.059 GB, free: 1.902 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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