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.001211/0.001211, allocations: 109.3 kB / 16.41 MB, free: 6.496 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.001197/0.001197, 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.338/1.338, 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.257/2.257, allocations: 390.3 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 71.89 kB / 0.9515 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.799/0.8004, allocations: 140.4 MB / 1.089 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002041/0.8024, allocations: 1.222 MB / 1.09 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008871/0.8033, allocations: 469 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.918e-05/0.8034, allocations: 0 / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.991e-05/0.8034, allocations: 4 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.388e-05/0.8035, allocations: 5.25 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000529/0.804, allocations: 113.5 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.655e-05/0.8041, allocations: 17.11 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.087e-05/0.8041, allocations: 2.906 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.682e-05/0.8042, allocations: 13.72 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.079e-05/0.8042, allocations: 9.656 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.8042, allocations: 1.094 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002258/0.8044, allocations: 111.1 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.8045, allocations: 6.719 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.934e-05/0.8045, allocations: 16.56 kB / 1.091 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.8047, allocations: 99.62 kB / 1.091 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.8047, allocations: 0 / 1.091 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8047, allocations: 0 / 1.091 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.8047, allocations: 1.062 kB / 1.091 GB, free: 4.23 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.0004012/0.8051, allocations: 382.2 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.8052, allocations: 9.531 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.8052, allocations: 2.688 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.26e-05/0.8053, allocations: 168.3 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.8053, allocations: 5.219 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.8053, allocations: 7.125 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.288e-05/0.8054, allocations: 36.8 kB / 1.091 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.8054, allocations: 0.75 kB / 1.091 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.8055, allocations: 4.75 kB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.8055, allocations: 0.875 kB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.388e-05/0.8055, allocations: 4.953 kB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001125/0.8056, allocations: 163.8 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.437e-05/0.8057, allocations: 32.75 kB / 1.091 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.288e-05/0.8057, allocations: 19.41 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.8058, allocations: 1.672 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001246/0.8059, allocations: 54.7 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.8059, allocations: 0 / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002013/0.8061, allocations: 73.88 kB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.8061, allocations: 56.5 kB / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.837e-05/0.8062, allocations: 108.9 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.8062, allocations: 26.77 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.205e-05/0.8062, allocations: 85.66 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.8063, allocations: 8.688 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.8063, allocations: 21 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.092e-05/0.8064, allocations: 317.6 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.945e-05/0.8064, allocations: 5.609 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.797e-05/0.8064, allocations: 37.02 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.908e-05/0.8065, allocations: 45.45 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.8065, allocations: 1.031 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.402e-05/0.8066, allocations: 73.89 kB / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.8066, allocations: 9.438 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.8066, allocations: 1.062 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.8066, allocations: 1.953 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.297e-05/0.8067, allocations: 15.66 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.8067, allocations: 2.094 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.555e-05/0.8067, allocations: 1.25 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.8067, allocations: 7.469 kB / 1.092 GB, free: 2.465 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.13e-05/0.8068, allocations: 113.4 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.231e-05/0.8068, allocations: 14.06 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.378e-05/0.8068, allocations: 6.234 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.8068, allocations: 0 / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.8069, allocations: 1.094 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.8069, allocations: 0.5625 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.22e-05/0.8069, allocations: 164 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.8069, allocations: 0 / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.386e-05/0.807, allocations: 2.844 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.807, allocations: 3.938 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.807, allocations: 1.891 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.807, allocations: 5.859 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.807, allocations: 3.938 kB / 1.093 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.8071, allocations: 82.06 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.8072, allocations: 78.8 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.8072, allocations: 9.797 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.288e-05/0.8072, allocations: 0.9062 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.939e-05/0.8072, allocations: 6.406 kB / 1.093 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/0.8072, allocations: 2.641 kB / 1.093 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.445e-05/0.8073, allocations: 85.5 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8073, allocations: 0 / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002568/0.8075, allocations: 34.44 kB / 1.093 GB, free: 1.852 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.0002911/0.8078, allocations: 172 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001083/0.8079, allocations: 34.27 kB / 1.093 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.808, allocations: 0 / 1.093 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.916e-05/0.808, allocations: 13.47 kB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.8081, allocations: 6.453 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002116/0.8084, allocations: 135.7 kB / 1.093 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.352e-05/0.8085, allocations: 0.6788 MB / 1.094 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.615e-05/0.8085, allocations: 9.375 kB / 1.094 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.8085, allocations: 0 / 1.094 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of Templates: time 0.003121/0.8116, allocations: 1.257 MB / 1.095 GB, free: 0.7422 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