Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_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.001468/0.001468, allocations: 102.5 kB / 16.35 MB, free: 5.824 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.001489/0.001489, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.473/2.473, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.42 kB / 0.8707 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3933, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002856/0.3963, allocations: 1.215 MB / 1.02 GB, free: 8.641 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009926/0.3973, allocations: 476 kB / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.621e-05/0.3973, allocations: 0 / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.801e-05/0.3974, allocations: 0 / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.994e-05/0.3975, allocations: 3.938 kB / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006254/0.3981, allocations: 111.6 kB / 1.021 GB, free: 8.062 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.3982, allocations: 23.86 kB / 1.021 GB, free: 8.039 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.667e-05/0.3983, allocations: 4 kB / 1.021 GB, free: 8.035 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.36e-05/0.3983, allocations: 7.984 kB / 1.021 GB, free: 8.027 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.405e-05/0.3983, allocations: 15.92 kB / 1.021 GB, free: 8.012 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.3984, allocations: 4 kB / 1.021 GB, free: 8.008 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002419/0.3986, allocations: 103.8 kB / 1.021 GB, free: 7.906 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.257e-05/0.3986, allocations: 8 kB / 1.021 GB, free: 7.898 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.962e-05/0.3987, allocations: 3.938 kB / 1.021 GB, free: 7.895 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.3989, allocations: 99.8 kB / 1.021 GB, free: 7.797 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.954e-06/0.3989, allocations: 8 kB / 1.021 GB, free: 7.789 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.993e-06/0.3989, allocations: 0 / 1.021 GB, free: 7.789 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.399, allocations: 0 / 1.021 GB, free: 7.789 MB / 0.795 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.0006698/0.3996, allocations: 389 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.3997, allocations: 12.62 kB / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.3998, allocations: 4.938 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.3999, allocations: 164.4 kB / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.3999, allocations: 4.375 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.3999, allocations: 4.359 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.4001, allocations: 46.19 kB / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.4001, allocations: 192 / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.4001, allocations: 3.938 kB / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4001, allocations: 0 / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.584e-05/0.4001, allocations: 11.92 kB / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001791/0.4003, allocations: 157.7 kB / 1.022 GB, free: 6.859 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.606e-05/0.4004, allocations: 26.58 kB / 1.022 GB, free: 6.824 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.933e-05/0.4005, allocations: 20.88 kB / 1.022 GB, free: 6.801 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-06/0.4005, allocations: 4 kB / 1.022 GB, free: 6.797 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000139/0.4006, allocations: 59.31 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.4006, allocations: 0 / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0002319/0.4009, allocations: 69.61 kB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.4009, allocations: 51.41 kB / 1.022 GB, free: 6.59 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.703e-05/0.401, allocations: 113.8 kB / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.4011, allocations: 29.7 kB / 1.022 GB, free: 6.434 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.4011, allocations: 84.12 kB / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.4011, allocations: 15.83 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.4012, allocations: 21.72 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.4013, allocations: 314.8 kB / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.348e-05/0.4013, allocations: 11.98 kB / 1.022 GB, free: 5.977 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.032e-05/0.4014, allocations: 31.44 kB / 1.022 GB, free: 5.934 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.523e-05/0.4014, allocations: 47.36 kB / 1.022 GB, free: 5.875 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4015, allocations: 0 / 1.022 GB, free: 5.875 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001041/0.4016, allocations: 69.53 kB / 1.022 GB, free: 5.801 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.4016, allocations: 7.938 kB / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4016, allocations: 7.938 kB / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.4016, allocations: 0 / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.751e-05/0.4017, allocations: 15.94 kB / 1.023 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.4017, allocations: 3.984 kB / 1.023 GB, free: 5.766 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.942e-05/0.4017, allocations: 4 kB / 1.023 GB, free: 5.762 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.4018, allocations: 4.094 kB / 1.023 GB, free: 5.758 MB / 0.795 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 0.0001397/0.4019, allocations: 113.8 kB / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.4019, allocations: 3.938 kB / 1.023 GB, free: 5.633 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.402, allocations: 8.141 kB / 1.023 GB, free: 5.621 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.402, allocations: 0 / 1.023 GB, free: 5.621 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.402, allocations: 0 / 1.023 GB, free: 5.621 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.402, allocations: 3.984 kB / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.4021, allocations: 161.6 kB / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4021, allocations: 0 / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.645e-05/0.4022, allocations: 8 kB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.4022, allocations: 3.938 kB / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.4022, allocations: 0 / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4022, allocations: 0 / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4022, allocations: 0 / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.4023, allocations: 89.05 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.838e-05/0.4024, allocations: 77.11 kB / 1.023 GB, free: 5.199 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.4025, allocations: 7.875 kB / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.725e-05/0.4025, allocations: 8 kB / 1.023 GB, free: 5.184 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.4025, allocations: 3.984 kB / 1.023 GB, free: 5.18 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.4025, allocations: 4.25 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.901e-05/0.4026, allocations: 83.28 kB / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4026, allocations: 4 kB / 1.023 GB, free: 5.09 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002591/0.4029, allocations: 31.98 kB / 1.023 GB, free: 5.059 MB / 0.795 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.0003714/0.4032, allocations: 165.5 kB / 1.023 GB, free: 4.898 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.4034, allocations: 27.92 kB / 1.023 GB, free: 4.871 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4034, allocations: 0 / 1.023 GB, free: 4.871 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.4e-05/0.4034, allocations: 12 kB / 1.023 GB, free: 4.859 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.4036, allocations: 10.39 kB / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002933/0.4039, allocations: 112.9 kB / 1.023 GB, free: 4.715 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.4042, allocations: 0.6769 MB / 1.024 GB, free: 4.012 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.804e-05/0.4042, allocations: 8 kB / 1.024 GB, free: 4.004 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.822e-05/0.4042, allocations: 7.438 kB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of SimCode: time 9.21e-07/0.4042, allocations: 0 / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of Templates: time 0.004404/0.4086, allocations: 1.082 MB / 1.025 GB, free: 2.914 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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