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.008024/0.008024, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001613/0.001613, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.451/1.451, allocations: 222.9 MB / 240.3 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.897/2.897, allocations: 461.9 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 68.11 kB / 1.054 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3022, allocations: 157.4 MB / 1.208 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002489/0.3048, allocations: 1.229 MB / 1.209 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009949/0.3058, allocations: 462.4 kB / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.189e-05/0.3058, allocations: 0 / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.172e-05/0.3059, allocations: 0 / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.983e-05/0.3059, allocations: 3.938 kB / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006973/0.3066, allocations: 115.6 kB / 1.209 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.725e-05/0.3067, allocations: 19.92 kB / 1.209 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.255e-05/0.3068, allocations: 7.984 kB / 1.209 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.943e-05/0.3068, allocations: 11.98 kB / 1.209 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.35e-05/0.3069, allocations: 11.92 kB / 1.21 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.3069, allocations: 0 / 1.21 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002874/0.3072, allocations: 99.84 kB / 1.21 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.048e-05/0.3072, allocations: 7.984 kB / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.176e-05/0.3072, allocations: 7.938 kB / 1.21 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.3075, allocations: 99.8 kB / 1.21 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3075, allocations: 4 kB / 1.21 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3075, allocations: 0 / 1.21 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.3075, allocations: 0 / 1.21 GB, free: 7.637 MB / 0.9669 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.0004914/0.308, allocations: 389 kB / 1.21 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.308, allocations: 12.56 kB / 1.21 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.3081, allocations: 4.938 kB / 1.21 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.3082, allocations: 168.2 kB / 1.21 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.3082, allocations: 4.375 kB / 1.21 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.3082, allocations: 4.375 kB / 1.21 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.3083, allocations: 42.23 kB / 1.21 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.3084, allocations: 192 / 1.21 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.3084, allocations: 7.938 kB / 1.21 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3084, allocations: 0 / 1.21 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.407e-05/0.3084, allocations: 4 kB / 1.21 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.3086, allocations: 157.7 kB / 1.21 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.214e-05/0.3087, allocations: 34.5 kB / 1.211 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.226e-05/0.3087, allocations: 16.86 kB / 1.211 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.246e-06/0.3087, allocations: 4.078 kB / 1.211 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001352/0.3089, allocations: 55.41 kB / 1.211 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3089, allocations: 0 / 1.211 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.000205/0.3091, allocations: 69.61 kB / 1.211 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.3092, allocations: 55.34 kB / 1.211 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.3093, allocations: 113.8 kB / 1.211 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.3093, allocations: 25.7 kB / 1.211 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.951e-05/0.3094, allocations: 88.14 kB / 1.211 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.3094, allocations: 11.83 kB / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.3094, allocations: 21.7 kB / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3096, allocations: 318.8 kB / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.068e-05/0.3096, allocations: 4 kB / 1.211 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.86e-05/0.3097, allocations: 39.42 kB / 1.211 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.496e-05/0.3097, allocations: 43.38 kB / 1.211 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3098, allocations: 0 / 1.211 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001769/0.3099, allocations: 69.61 kB / 1.211 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.31, allocations: 9.656 kB / 1.211 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.31, allocations: 8.344 kB / 1.211 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.31, allocations: 3.938 kB / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.766e-05/0.3101, allocations: 15.94 kB / 1.211 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3101, allocations: 0 / 1.211 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.879e-05/0.3101, allocations: 3.906 kB / 1.211 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.3101, allocations: 4 kB / 1.211 GB, free: 5.609 MB / 0.9669 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.358e-05/0.3102, allocations: 117.8 kB / 1.212 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/0.3102, allocations: 3.938 kB / 1.212 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.25e-05/0.3103, allocations: 3.906 kB / 1.212 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3103, allocations: 8 kB / 1.212 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3103, allocations: 0 / 1.212 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.3103, allocations: 0 / 1.212 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.3104, allocations: 157.6 kB / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3104, allocations: 0 / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.632e-05/0.3104, allocations: 4 kB / 1.212 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3104, allocations: 3.938 kB / 1.212 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.3105, allocations: 3.984 kB / 1.212 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3105, allocations: 0 / 1.212 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3105, allocations: 0 / 1.212 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.3106, allocations: 89.3 kB / 1.212 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.609e-05/0.3107, allocations: 85 kB / 1.212 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.3107, allocations: 3.938 kB / 1.212 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.355e-05/0.3107, allocations: 4.047 kB / 1.212 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/0.3107, allocations: 7.984 kB / 1.212 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.3107, allocations: 0 / 1.212 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.466e-05/0.3108, allocations: 83.27 kB / 1.212 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3108, allocations: 0 / 1.212 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00025/0.311, allocations: 40 kB / 1.212 GB, free: 4.902 MB / 0.9669 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.0003304/0.3114, allocations: 164.9 kB / 1.212 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001114/0.3115, allocations: 31.92 kB / 1.212 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3115, allocations: 0 / 1.212 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.55e-05/0.3116, allocations: 8.188 kB / 1.212 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.3117, allocations: 12 kB / 1.212 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002488/0.312, allocations: 132.6 kB / 1.212 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.3123, allocations: 0.6729 MB / 1.213 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.293e-05/0.3123, allocations: 7.984 kB / 1.213 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.376e-05/0.3123, allocations: 7.438 kB / 1.213 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/0.3123, allocations: 0 / 1.213 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of Templates: time 0.003469/0.3158, allocations: 1.09 MB / 1.214 GB, free: 2.738 MB / 0.9669 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