Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002391/0.002391, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.34/1.34, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.365/2.365, allocations: 390.2 MB / 0.6642 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 59.91 kB / 0.8118 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8007/0.8019, allocations: 140.4 MB / 0.9489 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002449/0.8044, allocations: 1.291 MB / 0.9502 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008474/0.8053, allocations: 462.4 kB / 0.9506 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.097e-05/0.8053, allocations: 1.094 kB / 0.9506 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.531e-05/0.8054, allocations: 3.938 kB / 0.9506 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.033e-05/0.8054, allocations: 0 / 0.9506 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004287/0.8059, allocations: 93.98 kB / 0.9507 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.461e-05/0.8059, allocations: 17.36 kB / 0.9507 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.928e-05/0.806, allocations: 6.125 kB / 0.9507 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.113e-05/0.806, allocations: 11.75 kB / 0.9507 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.782e-05/0.806, allocations: 11.58 kB / 0.9507 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.806, allocations: 5.094 kB / 0.9507 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.8062, allocations: 105 kB / 0.9508 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.474e-05/0.8063, allocations: 2 kB / 0.9508 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.016e-05/0.8063, allocations: 22.84 kB / 0.9509 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.8065, allocations: 99.38 kB / 0.951 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.8065, allocations: 0 / 0.951 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.52e-07/0.8065, allocations: 1.25 kB / 0.951 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.8065, allocations: 0 / 0.951 GB, free: 7.539 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004262/0.8069, allocations: 389.4 kB / 0.9513 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.807, allocations: 9.656 kB / 0.9513 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/0.807, allocations: 6.125 kB / 0.9514 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.576e-05/0.8071, allocations: 169.6 kB / 0.9515 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.8071, allocations: 2.469 kB / 0.9515 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.8072, allocations: 3.125 kB / 0.9515 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.8073, allocations: 44.3 kB / 0.9516 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.8073, allocations: 192 / 0.9516 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.8073, allocations: 5.406 kB / 0.9516 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.8073, allocations: 3.984 kB / 0.9516 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.771e-05/0.8074, allocations: 16.12 kB / 0.9516 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/0.8075, allocations: 158.3 kB / 0.9517 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.217e-05/0.8075, allocations: 24.45 kB / 0.9518 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.858e-05/0.8076, allocations: 15.42 kB / 0.9518 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.8076, allocations: 2.125 kB / 0.9518 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000128/0.8077, allocations: 61.14 kB / 0.9518 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.8077, allocations: 0 / 0.9518 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0002096/0.808, allocations: 85.23 kB / 0.9519 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.808, allocations: 52.66 kB / 0.952 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.589e-05/0.8081, allocations: 104.4 kB / 0.9521 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.8081, allocations: 31.27 kB / 0.9521 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.418e-05/0.8081, allocations: 80.14 kB / 0.9522 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.8081, allocations: 10.66 kB / 0.9522 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.8082, allocations: 23.81 kB / 0.9522 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.056e-05/0.8082, allocations: 316.1 kB / 0.9525 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.283e-05/0.8082, allocations: 8.469 kB / 0.9525 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.448e-05/0.8083, allocations: 40.47 kB / 0.9526 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.87e-05/0.8084, allocations: 60.48 kB / 0.9526 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8084, allocations: 0 / 0.9526 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.361e-05/0.8085, allocations: 75.77 kB / 0.9527 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.8085, allocations: 10.81 kB / 0.9527 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.8085, allocations: 1.562 kB / 0.9527 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.8085, allocations: 2.375 kB / 0.9527 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.624e-05/0.8086, allocations: 11.66 kB / 0.9527 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.8086, allocations: 6.312 kB / 0.9527 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.786e-05/0.8086, allocations: 4.969 kB / 0.9527 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.8086, allocations: 3.344 kB / 0.9527 GB, free: 5.676 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (8): * Single equations (assignments): 8 * 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.257e-05/0.8087, allocations: 125.2 kB / 0.9528 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.217e-05/0.8087, allocations: 5 kB / 0.9528 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.106e-05/0.8087, allocations: 8.594 kB / 0.9529 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.8088, allocations: 1.031 kB / 0.9529 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.8088, allocations: 1.094 kB / 0.9529 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.8088, allocations: 4 kB / 0.9529 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.174e-05/0.8088, allocations: 159.2 kB / 0.953 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.8089, allocations: 0 / 0.953 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.028e-05/0.8089, allocations: 7.266 kB / 0.953 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.8089, allocations: 3.938 kB / 0.953 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.8089, allocations: 9.031 kB / 0.953 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.8089, allocations: 1.031 kB / 0.953 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.8089, allocations: 0 / 0.953 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.809, allocations: 81.72 kB / 0.9531 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.146e-05/0.8091, allocations: 91 kB / 0.9532 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.8091, allocations: 5 kB / 0.9532 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.182e-05/0.8091, allocations: 0 / 0.9532 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.86e-05/0.8091, allocations: 2.406 kB / 0.9532 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.8091, allocations: 1.25 kB / 0.9532 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.339e-05/0.8092, allocations: 83.02 kB / 0.9533 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8092, allocations: 1.219 kB / 0.9533 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002581/0.8094, allocations: 32.03 kB / 0.9533 GB, free: 5.047 MB / 0.7169 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 (5): * Single equations (assignments): 3 * 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.00031/0.8097, allocations: 175 kB / 0.9535 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.8099, allocations: 32.11 kB / 0.9535 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.8099, allocations: 0 / 0.9535 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.112e-05/0.8099, allocations: 18.56 kB / 0.9535 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/0.8101, allocations: 1.875 kB / 0.9535 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002141/0.8103, allocations: 130.5 kB / 0.9537 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.807e-05/0.8104, allocations: 0.6753 MB / 0.9543 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.299e-05/0.8104, allocations: 7.016 kB / 0.9543 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.463e-05/0.8104, allocations: 8.906 kB / 0.9543 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of SimCode: time 6.01e-07/0.8104, allocations: 0 / 0.9543 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of Templates: time 0.003121/0.8136, allocations: 1.079 MB / 0.9554 GB, free: 3.492 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,C,seed,t0,time,y