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.006372/0.006372, allocations: 102.5 kB / 15.74 MB, free: 6.027 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.001376/0.001376, allocations: 196.1 kB / 16.67 MB, free: 5.961 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.433/2.433, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 70.48 kB / 0.9508 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3262, allocations: 140.4 MB / 1.088 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002423/0.3287, allocations: 1.231 MB / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009681/0.3297, allocations: 456.2 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.012e-05/0.3297, allocations: 0 / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.572e-05/0.3298, allocations: 4 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.029e-05/0.3298, allocations: 7.922 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005803/0.3304, allocations: 107.6 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.385e-05/0.3305, allocations: 27.91 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.593e-05/0.3305, allocations: 4 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.539e-05/0.3306, allocations: 7.984 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.905e-05/0.3306, allocations: 7.938 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.3306, allocations: 0 / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002197/0.3308, allocations: 107.8 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.3309, allocations: 4 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.3309, allocations: 23.91 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.3311, allocations: 91.7 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3311, allocations: 0 / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3311, allocations: 0 / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.3311, allocations: 0 / 1.09 GB, free: 15.45 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.0005858/0.3317, allocations: 384.8 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.3318, allocations: 12.03 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.3318, allocations: 8.922 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.332, allocations: 180.3 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.332, allocations: 4.375 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.332, allocations: 4.375 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.3321, allocations: 34.25 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.3322, allocations: 4.125 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.3322, allocations: 3.938 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3322, allocations: 0 / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.9e-05/0.3322, allocations: 11.98 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001961/0.3324, allocations: 153.7 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.001e-05/0.3325, allocations: 38.55 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.539e-05/0.3326, allocations: 12.86 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.3326, allocations: 0 / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001355/0.3327, allocations: 55.48 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.083e-06/0.3327, allocations: 0 / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002247/0.333, allocations: 69.56 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.333, allocations: 63.39 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.678e-05/0.3331, allocations: 109.8 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.3331, allocations: 29.7 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.535e-05/0.3332, allocations: 84.12 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.3332, allocations: 11.95 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.3332, allocations: 17.72 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.3334, allocations: 314.8 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.205e-05/0.3334, allocations: 8 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.884e-05/0.3334, allocations: 35.42 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.328e-05/0.3335, allocations: 47.55 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.3335, allocations: 4 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.774e-05/0.3336, allocations: 69.56 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.3337, allocations: 11.94 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3337, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.3337, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.473e-05/0.3338, allocations: 15.92 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3338, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.105e-05/0.3338, allocations: 7.953 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.3338, allocations: 0 / 1.092 GB, free: 13.42 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 7.96e-05/0.3339, allocations: 113.8 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/0.3339, allocations: 12.03 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/0.334, allocations: 7.906 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.334, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.334, allocations: 3.984 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.334, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.3341, allocations: 149.9 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3341, allocations: 4 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.368e-05/0.3341, allocations: 4 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3341, allocations: 3.938 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.3341, allocations: 4 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3342, allocations: 7.938 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3342, allocations: 7.938 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.3344, allocations: 85.06 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.487e-05/0.3344, allocations: 77.11 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.3344, allocations: 7.938 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.349e-05/0.3345, allocations: 3.984 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.943e-05/0.3345, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.3345, allocations: 4 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.936e-05/0.3345, allocations: 87.28 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3346, allocations: 0 / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002402/0.3348, allocations: 35.86 kB / 1.092 GB, free: 12.71 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.0004806/0.3353, allocations: 167.1 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001083/0.3354, allocations: 32.05 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3354, allocations: 4.062 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.89e-05/0.3355, allocations: 23.91 kB / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.3356, allocations: 0 / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002943/0.3359, allocations: 105 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.3363, allocations: 0.6768 MB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.157e-05/0.3363, allocations: 4.25 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.536e-05/0.3363, allocations: 7.438 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.3363, allocations: 4 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of Templates: time 0.003836/0.3401, allocations: 1.079 MB / 1.094 GB, free: 10.57 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/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