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.001426/0.001427, allocations: 111.7 kB / 16.41 MB, free: 6.484 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.001654/0.001654, allocations: 187 kB / 17.34 MB, free: 5.762 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.243/2.243, allocations: 390.3 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 63.91 kB / 0.9515 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8434/0.8449, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002173/0.8471, allocations: 1.228 MB / 1.09 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008304/0.8479, allocations: 463.7 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.708e-05/0.848, allocations: 0 / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.25e-05/0.848, allocations: 4.547 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.656e-05/0.848, allocations: 1.125 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005534/0.8486, allocations: 116.9 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.407e-05/0.8487, allocations: 16.91 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.815e-05/0.8487, allocations: 7.312 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.686e-05/0.8488, allocations: 9.484 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.524e-05/0.8488, allocations: 13.97 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.8488, allocations: 5.5 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.849, allocations: 102.6 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.706e-05/0.8491, allocations: 7.922 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.28e-05/0.8491, allocations: 12.22 kB / 1.091 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.8493, allocations: 99.06 kB / 1.091 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.8493, allocations: 0 / 1.091 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.335e-06/0.8493, allocations: 0 / 1.091 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.8493, allocations: 5 kB / 1.091 GB, free: 4.219 MB / 0.8575 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.0004099/0.8497, allocations: 385.5 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.8498, allocations: 14.33 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.8498, allocations: 6.438 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.098e-05/0.8499, allocations: 164.4 kB / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.8499, allocations: 2.094 kB / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.8499, allocations: 2.688 kB / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.354e-05/0.85, allocations: 36.33 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.8501, allocations: 1.688 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.8501, allocations: 8.641 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.8501, allocations: 0 / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.147e-05/0.8501, allocations: 5.938 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001197/0.8502, allocations: 162.8 kB / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.475e-05/0.8503, allocations: 33.25 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.288e-05/0.8504, allocations: 11.69 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.8504, allocations: 0.5625 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001339/0.8505, allocations: 54.78 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.8505, allocations: 4 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002069/0.8507, allocations: 73.58 kB / 1.092 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.8508, allocations: 53.5 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.855e-05/0.8508, allocations: 109.2 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.8509, allocations: 29.7 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.226e-05/0.8509, allocations: 82.5 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.8509, allocations: 15.94 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.8509, allocations: 20.67 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.335e-05/0.851, allocations: 318.1 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.515e-05/0.851, allocations: 9.562 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.153e-05/0.8511, allocations: 29.77 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.604e-05/0.8511, allocations: 48.97 kB / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8511, allocations: 4.781 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.715e-05/0.8512, allocations: 74.59 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.8513, allocations: 9.812 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.8513, allocations: 5.062 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.8513, allocations: 1.625 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.563e-05/0.8514, allocations: 6.828 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.8514, allocations: 1.734 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.889e-05/0.8514, allocations: 6.984 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.527e-06/0.8514, allocations: 2.5 kB / 1.092 GB, free: 2.449 MB / 0.8575 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.709e-05/0.8515, allocations: 113.3 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/0.8515, allocations: 10.06 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.61e-05/0.8515, allocations: 9.547 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.8515, allocations: 1.734 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.8515, allocations: 0 / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.8516, allocations: 0.6094 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.393e-05/0.8516, allocations: 160.5 kB / 1.093 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.8516, allocations: 3.938 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.49e-05/0.8517, allocations: 10.86 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.8517, allocations: 3.938 kB / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/0.8517, allocations: 1.953 kB / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.8517, allocations: 1.062 kB / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.8517, allocations: 0 / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.8518, allocations: 82.56 kB / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.877e-05/0.8519, allocations: 79.19 kB / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.8519, allocations: 5.609 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.199e-05/0.8519, allocations: 4 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.339e-05/0.8519, allocations: 7.672 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.8519, allocations: 2.047 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.501e-05/0.852, allocations: 85.44 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.852, allocations: 0 / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002618/0.8522, allocations: 33.69 kB / 1.093 GB, free: 1.836 MB / 0.8575 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.000318/0.8526, allocations: 171.1 kB / 1.093 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001117/0.8527, allocations: 26.44 kB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.8527, allocations: 0 / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.093e-05/0.8527, allocations: 17.81 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/0.8529, allocations: 5.781 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000227/0.8531, allocations: 137.3 kB / 1.093 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.504e-05/0.8532, allocations: 0.679 MB / 1.094 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.624e-05/0.8532, allocations: 16.97 kB / 1.094 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.8532, allocations: 0.8125 kB / 1.094 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of Templates: time 0.003288/0.8565, allocations: 1.256 MB / 1.095 GB, free: 0.7266 MB / 0.8575 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches