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.001176/0.001176, allocations: 108.3 kB / 16.41 MB, free: 6.492 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.001279/0.001279, allocations: 189.6 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.15 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.308/2.308, allocations: 390.2 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 63.91 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7758/0.7772, allocations: 140.4 MB / 1.089 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002184/0.7794, allocations: 1.233 MB / 1.09 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008238/0.7803, allocations: 449.2 kB / 1.09 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.748e-05/0.7803, allocations: 3.938 kB / 1.09 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.125e-05/0.7803, allocations: 1.5 kB / 1.09 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.334e-05/0.7804, allocations: 4.5 kB / 1.09 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005357/0.7809, allocations: 113.2 kB / 1.09 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.849e-05/0.781, allocations: 22.09 kB / 1.09 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.36e-05/0.7811, allocations: 6.531 kB / 1.09 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.578e-05/0.7811, allocations: 11.33 kB / 1.09 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.19e-05/0.7811, allocations: 9.719 kB / 1.09 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.7811, allocations: 0.8438 kB / 1.09 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002255/0.7814, allocations: 109.9 kB / 1.09 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.7814, allocations: 7.031 kB / 1.09 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/0.7814, allocations: 12.5 kB / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.7817, allocations: 104.4 kB / 1.091 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.7817, allocations: 1.703 kB / 1.091 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7817, allocations: 0 / 1.091 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.7817, allocations: 3.938 kB / 1.091 GB, free: 4.453 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004418/0.7821, allocations: 389.4 kB / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.7822, allocations: 9.125 kB / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.7822, allocations: 2.781 kB / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.498e-05/0.7823, allocations: 168 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.7824, allocations: 2.172 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.7824, allocations: 3.562 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.7825, allocations: 41.44 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.7825, allocations: 1.562 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.7825, allocations: 8.641 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.7825, allocations: 5.406 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.569e-05/0.7826, allocations: 4.812 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001314/0.7827, allocations: 161 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.224e-05/0.7828, allocations: 21.42 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.024e-05/0.7828, allocations: 16.95 kB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.7828, allocations: 4.781 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001456/0.783, allocations: 67.48 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.783, allocations: 0 / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0002295/0.7832, allocations: 76.34 kB / 1.092 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.7833, allocations: 54.42 kB / 1.092 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.867e-05/0.7833, allocations: 103.3 kB / 1.092 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.7833, allocations: 25.7 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.312e-05/0.7834, allocations: 89.78 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.7834, allocations: 15.42 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.7834, allocations: 25.39 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.96e-05/0.7835, allocations: 313.9 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.203e-05/0.7835, allocations: 10.66 kB / 1.092 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.456e-05/0.7836, allocations: 42.48 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.241e-05/0.7836, allocations: 61.88 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7836, allocations: 1.156 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001024/0.7837, allocations: 69.72 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.7838, allocations: 9.25 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.7838, allocations: 5.25 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.7838, allocations: 1.969 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.348e-05/0.7839, allocations: 13.53 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.7839, allocations: 1.781 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.852e-05/0.7839, allocations: 2.812 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.7839, allocations: 2.281 kB / 1.092 GB, free: 2.656 MB / 0.8575 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.811e-05/0.784, allocations: 119.1 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.206e-05/0.784, allocations: 8.906 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.784, allocations: 5.391 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.784, allocations: 4.969 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.784, allocations: 4.734 kB / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.7841, allocations: 1.062 kB / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.255e-05/0.7841, allocations: 159.4 kB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.7841, allocations: 4.656 kB / 1.093 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.95e-05/0.7842, allocations: 4.078 kB / 1.093 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.7842, allocations: 3.938 kB / 1.093 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.7842, allocations: 5.453 kB / 1.093 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.7842, allocations: 1.422 kB / 1.093 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.7842, allocations: 0.875 kB / 1.093 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.7843, allocations: 88.27 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.312e-05/0.7844, allocations: 82.59 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.7844, allocations: 5.922 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.368e-05/0.7844, allocations: 5.406 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/0.7845, allocations: 2.703 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.385e-06/0.7845, allocations: 6.516 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.117e-05/0.7845, allocations: 80.2 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7845, allocations: 3.938 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002783/0.7848, allocations: 38.92 kB / 1.093 GB, free: 2.035 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 (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.0003504/0.7851, allocations: 163.7 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001338/0.7853, allocations: 32.8 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7853, allocations: 256 / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.044e-05/0.7854, allocations: 20.14 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.7855, allocations: 5.75 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002422/0.7858, allocations: 142.1 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.7859, allocations: 0.6792 MB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.647e-05/0.7859, allocations: 9.688 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/0.7859, allocations: 0 / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of Templates: time 0.003621/0.7895, allocations: 1.273 MB / 1.095 GB, free: 0.9297 MB / 0.8575 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches