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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001343/0.001343, allocations: 116.7 kB / 16.37 MB, free: 6 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.002459/0.002459, allocations: 193.5 kB / 17.31 MB, free: 5.613 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.409/1.409, 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 11.0.0-master/package.mo): time 2.567/2.567, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 63.94 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3569, allocations: 153 MB / 1.027 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002667/0.3596, allocations: 1.223 MB / 1.028 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.3607, allocations: 476.7 kB / 1.028 GB, free: 396 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.093e-05/0.3607, allocations: 0 / 1.028 GB, free: 396 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.748e-05/0.3608, allocations: 4 kB / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.103e-05/0.3609, allocations: 3.938 kB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007008/0.3616, allocations: 111.6 kB / 1.028 GB, free: 276 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.287e-05/0.3617, allocations: 19.98 kB / 1.028 GB, free: 256 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.018e-05/0.3617, allocations: 3.984 kB / 1.029 GB, free: 252 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.888e-05/0.3617, allocations: 11.94 kB / 1.029 GB, free: 240 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.696e-05/0.3618, allocations: 7.984 kB / 1.029 GB, free: 232 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.3618, allocations: 0 / 1.029 GB, free: 232 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000245/0.3621, allocations: 99.84 kB / 1.029 GB, free: 132 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.859e-05/0.3621, allocations: 19.92 kB / 1.029 GB, free: 112 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.653e-05/0.3621, allocations: 11.92 kB / 1.029 GB, free: 100 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.3624, allocations: 99.81 kB / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3624, allocations: 0 / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of FrontEnd: time 1.993e-06/0.3624, allocations: 0 / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.3624, allocations: 0 / 1.029 GB, free: 0 / 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.0005623/0.363, allocations: 381.1 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.363, allocations: 12.03 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.3631, allocations: 0.9375 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.3632, allocations: 172.3 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.3632, allocations: 8.375 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.3633, allocations: 4.375 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.3634, allocations: 42.23 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.3634, allocations: 192 / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.3634, allocations: 3.938 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.237e-06/0.3634, allocations: 0 / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.605e-05/0.3635, allocations: 4 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000208/0.3637, allocations: 165.6 kB / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.374e-05/0.3638, allocations: 30.52 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.479e-05/0.3638, allocations: 16.95 kB / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.3638, allocations: 3.984 kB / 1.03 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001243/0.364, allocations: 55.39 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 2.945e-06/0.364, allocations: 0 / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002238/0.3642, allocations: 77.48 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.3643, allocations: 59.41 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.585e-05/0.3644, allocations: 109.8 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.3644, allocations: 25.7 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.754e-05/0.3644, allocations: 84.14 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.3644, allocations: 7.844 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.3645, allocations: 25.7 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.3646, allocations: 314.8 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.236e-05/0.3646, allocations: 4 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.786e-05/0.3647, allocations: 39.42 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.307e-05/0.3647, allocations: 43.38 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3648, allocations: 0 / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001045/0.3649, allocations: 77.52 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.3649, allocations: 11.94 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3649, allocations: 0 / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3649, allocations: 0 / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.769e-05/0.365, allocations: 11.94 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.365, allocations: 0 / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.865e-05/0.3651, allocations: 4 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.3651, allocations: 0 / 1.03 GB, free: 13.98 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 9.016e-05/0.3652, allocations: 121.8 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.3652, allocations: 11.94 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.086e-05/0.3652, allocations: 7.906 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3652, allocations: 0 / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3652, allocations: 0 / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3652, allocations: 0 / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.3654, allocations: 153.7 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3654, allocations: 0 / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.542e-05/0.3654, allocations: 4.25 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.3654, allocations: 3.938 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.3654, allocations: 7.984 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.3654, allocations: 3.938 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3655, allocations: 8 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.3656, allocations: 81.11 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/0.3656, allocations: 77.11 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.3657, allocations: 11.88 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.488e-05/0.3657, allocations: 4 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/0.3657, allocations: 0 / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.3657, allocations: 4 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.37e-05/0.3658, allocations: 87.27 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3658, allocations: 0 / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002712/0.3661, allocations: 32 kB / 1.031 GB, free: 13.28 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.0003675/0.3664, allocations: 167.7 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.3666, allocations: 32.05 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3666, allocations: 4.062 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.141e-05/0.3666, allocations: 19.92 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.3668, allocations: 4 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002815/0.3671, allocations: 112.8 kB / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.3673, allocations: 0.6768 MB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.088e-05/0.3673, allocations: 4 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.023e-05/0.3674, allocations: 7.438 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of SimCode: time 5.1e-07/0.3674, allocations: 4 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of Templates: time 0.003692/0.3711, allocations: 1.074 MB / 1.033 GB, free: 11.13 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 -s cvode -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/jenkins1/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