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.009721/0.00973, allocations: 98.98 kB / 15.73 MB, free: 6.012 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.001538/0.001538, allocations: 191.1 kB / 16.67 MB, free: 5.934 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.19/2.19, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.89 kB / 0.9508 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8853/0.8866, allocations: 140.4 MB / 1.088 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002261/0.8889, allocations: 1.223 MB / 1.089 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009015/0.8898, allocations: 445.4 kB / 1.09 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.8898, allocations: 7.875 kB / 1.09 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.582e-05/0.8898, allocations: 5.031 kB / 1.09 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.598e-05/0.8899, allocations: 0.5156 kB / 1.09 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000599/0.8905, allocations: 117.3 kB / 1.09 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.932e-05/0.8906, allocations: 22.3 kB / 1.09 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.665e-05/0.8907, allocations: 2.578 kB / 1.09 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.577e-05/0.8907, allocations: 14 kB / 1.09 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.194e-05/0.8907, allocations: 10.75 kB / 1.09 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.8907, allocations: 5.469 kB / 1.09 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002309/0.891, allocations: 105.2 kB / 1.09 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.873e-05/0.891, allocations: 6.828 kB / 1.09 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.576e-05/0.891, allocations: 13.06 kB / 1.09 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.8913, allocations: 101.7 kB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.8913, allocations: 0 / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.976e-06/0.8913, allocations: 1.656 kB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.8913, allocations: 0 / 1.09 GB, free: 4.48 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.0004629/0.8918, allocations: 386.7 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.8918, allocations: 13.5 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.8919, allocations: 3.938 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.629e-05/0.892, allocations: 174.7 kB / 1.09 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.892, allocations: 2.562 kB / 1.09 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.892, allocations: 3.297 kB / 1.09 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.8921, allocations: 41.53 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.8921, allocations: 192 / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.8922, allocations: 9.75 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.8922, allocations: 1.125 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.811e-05/0.8922, allocations: 9.906 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001342/0.8924, allocations: 162.7 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.374e-05/0.8924, allocations: 23.02 kB / 1.091 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.598e-05/0.8925, allocations: 16.23 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.8925, allocations: 1.453 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000121/0.8926, allocations: 55.83 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.8926, allocations: 4 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0002414/0.8929, allocations: 80.53 kB / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.8929, allocations: 53.31 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.182e-05/0.893, allocations: 102.5 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.893, allocations: 31.55 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.555e-05/0.893, allocations: 85.11 kB / 1.091 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.893, allocations: 16.22 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.8931, allocations: 24.67 kB / 1.091 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.871e-05/0.8931, allocations: 317.5 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.341e-05/0.8932, allocations: 10.92 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.694e-05/0.8932, allocations: 39.59 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.927e-05/0.8933, allocations: 64.5 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.8933, allocations: 1.406 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000103/0.8934, allocations: 73.41 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.8934, allocations: 9.359 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.8934, allocations: 1.281 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.8934, allocations: 2.719 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.359e-05/0.8935, allocations: 12.86 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.8935, allocations: 1.703 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.113e-05/0.8936, allocations: 10.25 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.8936, allocations: 3.75 kB / 1.092 GB, free: 2.664 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 6.122e-05/0.8937, allocations: 114.1 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.8937, allocations: 9.656 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.445e-05/0.8937, allocations: 9.297 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.8937, allocations: 1.375 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.8937, allocations: 0 / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.8937, allocations: 5.672 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.947e-05/0.8938, allocations: 155.6 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.8938, allocations: 0 / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.285e-05/0.8939, allocations: 7.969 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.8939, allocations: 8.844 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.8939, allocations: 1.812 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.8939, allocations: 0 / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.8939, allocations: 1.766 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.894, allocations: 83.3 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.5e-05/0.8941, allocations: 83.95 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.8941, allocations: 12.73 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.285e-05/0.8941, allocations: 1.766 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.8942, allocations: 2.641 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.8942, allocations: 1.594 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.04e-05/0.8942, allocations: 81.48 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8942, allocations: 3.938 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002721/0.8945, allocations: 39.33 kB / 1.092 GB, free: 2.055 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.0003508/0.8949, allocations: 166 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001255/0.895, allocations: 33.2 kB / 1.092 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.895, allocations: 0 / 1.092 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.316e-05/0.8951, allocations: 19.92 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.8952, allocations: 4.375 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002281/0.8954, allocations: 123.9 kB / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.8956, allocations: 0.6791 MB / 1.093 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.326e-05/0.8956, allocations: 2.859 kB / 1.093 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.672e-05/0.8956, allocations: 10.23 kB / 1.093 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.8956, allocations: 0.7812 kB / 1.093 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of Templates: time 0.003907/0.8995, allocations: 1.088 MB / 1.094 GB, free: 0.9688 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/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