Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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.001547/0.001546, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001786/0.001786, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.455/1.455, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.863/2.863, allocations: 461.8 MB / 0.7342 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 61.53 kB / 0.8984 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4098/0.4118, allocations: 157.4 MB / 1.052 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002729/0.4146, allocations: 1.278 MB / 1.053 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009529/0.4156, allocations: 474.5 kB / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.447e-05/0.4156, allocations: 0 / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.008e-05/0.4157, allocations: 0 / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.161e-05/0.4157, allocations: 3.984 kB / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005094/0.4162, allocations: 87.67 kB / 1.054 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.977e-05/0.4163, allocations: 19.98 kB / 1.054 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.109e-05/0.4164, allocations: 3.984 kB / 1.054 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.32e-05/0.4164, allocations: 7.984 kB / 1.054 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.206e-05/0.4164, allocations: 11.94 kB / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.4164, allocations: 4 kB / 1.054 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002129/0.4167, allocations: 103.8 kB / 1.054 GB, free: 6.836 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.353e-05/0.4167, allocations: 11.98 kB / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.967e-05/0.4168, allocations: 11.94 kB / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.417, allocations: 99.8 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.417, allocations: 3.938 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.042e-06/0.417, allocations: 0 / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.417, allocations: 0 / 1.054 GB, free: 6.711 MB / 0.8106 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.0005729/0.4176, allocations: 381.4 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.4176, allocations: 16.03 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.4177, allocations: 4.844 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.4178, allocations: 172.3 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.4178, allocations: 4.375 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.4179, allocations: 4.375 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.418, allocations: 38.23 kB / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.418, allocations: 192 / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.418, allocations: 11.94 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.418, allocations: 0 / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.896e-05/0.4181, allocations: 7.984 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001882/0.4183, allocations: 161.7 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.192e-05/0.4183, allocations: 30.52 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.268e-05/0.4184, allocations: 16.98 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.4184, allocations: 0 / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.4186, allocations: 59.39 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.4186, allocations: 4 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.000241/0.4188, allocations: 81.52 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.4189, allocations: 55.34 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.57e-05/0.419, allocations: 109.8 kB / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.419, allocations: 25.7 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.705e-05/0.419, allocations: 80.14 kB / 1.055 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.4191, allocations: 19.75 kB / 1.055 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.4191, allocations: 21.7 kB / 1.055 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.4193, allocations: 330.8 kB / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.197e-05/0.4193, allocations: 7.984 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.378e-05/0.4194, allocations: 40.28 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.4e-05/0.4194, allocations: 60.22 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4194, allocations: 0 / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001137/0.4196, allocations: 73.56 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.4196, allocations: 9.5 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4196, allocations: 0 / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.4196, allocations: 4 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.272e-05/0.4197, allocations: 11.98 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.4197, allocations: 4.125 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.197e-05/0.4197, allocations: 8 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.4198, allocations: 0 / 1.056 GB, free: 4.633 MB / 0.8106 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 9.278e-05/0.4199, allocations: 119.3 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.598e-05/0.4199, allocations: 11.84 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.274e-05/0.4199, allocations: 3.562 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.4199, allocations: 0 / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4199, allocations: 0 / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.4199, allocations: 0 / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.4201, allocations: 165.7 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4201, allocations: 0.5 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.615e-05/0.4201, allocations: 0 / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4201, allocations: 7.938 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.4201, allocations: 4 kB / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4201, allocations: 0 / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4201, allocations: 0 / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.4203, allocations: 93.05 kB / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.4204, allocations: 85.06 kB / 1.056 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.4204, allocations: 11.92 kB / 1.056 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.412e-05/0.4204, allocations: 0 / 1.056 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.208e-05/0.4205, allocations: 7.984 kB / 1.056 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.4205, allocations: 0 / 1.056 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.407e-05/0.4205, allocations: 83.28 kB / 1.056 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4205, allocations: 0 / 1.056 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002661/0.4208, allocations: 35.98 kB / 1.057 GB, free: 3.926 MB / 0.8106 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.0004105/0.4212, allocations: 167.8 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001313/0.4214, allocations: 35.92 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4214, allocations: 0 / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.575e-05/0.4214, allocations: 16 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.4216, allocations: 0 / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002847/0.4219, allocations: 126.9 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.4222, allocations: 0.6809 MB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.581e-05/0.4222, allocations: 0 / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.006e-05/0.4223, allocations: 11.44 kB / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of SimCode: time 3.41e-07/0.4223, allocations: 0 / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of Templates: time 0.003898/0.4262, allocations: 1.086 MB / 1.059 GB, free: 1.758 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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