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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001263/0.001262, allocations: 115 kB / 16.37 MB, free: 5.539 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.00133/0.001331, allocations: 189.4 kB / 17.3 MB, free: 5.18 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.385/1.385, 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.2-maint.9.1.x/package.mo): time 2.235/2.235, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 65.8 kB / 0.814 GB, free: 32.79 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2884, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002483/0.2909, allocations: 1.225 MB / 0.9523 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008402/0.2918, allocations: 460.6 kB / 0.9528 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.947e-05/0.2918, allocations: 0 / 0.9528 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.599e-05/0.2918, allocations: 3.938 kB / 0.9528 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.702e-05/0.2919, allocations: 0 / 0.9528 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004884/0.2924, allocations: 115.6 kB / 0.9529 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.122e-05/0.2925, allocations: 19.92 kB / 0.9529 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.956e-05/0.2925, allocations: 8 kB / 0.9529 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.194e-05/0.2925, allocations: 7.984 kB / 0.9529 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.163e-05/0.2926, allocations: 15.92 kB / 0.9529 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.2926, allocations: 0 / 0.9529 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001969/0.2928, allocations: 107.8 kB / 0.953 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.2928, allocations: 4 kB / 0.953 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.11e-05/0.2929, allocations: 15.92 kB / 0.953 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.2931, allocations: 95.8 kB / 0.9531 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2931, allocations: 0 / 0.9531 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2931, allocations: 0 / 0.9531 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.2931, allocations: 4 kB / 0.9531 GB, free: 5.988 MB / 0.7325 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.0005002/0.2936, allocations: 393 kB / 0.9535 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.2936, allocations: 12.02 kB / 0.9535 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.2937, allocations: 4.844 kB / 0.9535 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.2938, allocations: 168.3 kB / 0.9537 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.2938, allocations: 384 / 0.9537 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.2938, allocations: 4.375 kB / 0.9537 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.2939, allocations: 38.25 kB / 0.9537 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.294, allocations: 4.188 kB / 0.9537 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.294, allocations: 11.92 kB / 0.9537 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.294, allocations: 0 / 0.9537 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.57e-05/0.294, allocations: 4 kB / 0.9537 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.2942, allocations: 157.7 kB / 0.9539 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.07e-05/0.2943, allocations: 34.53 kB / 0.9539 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.709e-05/0.2943, allocations: 12.86 kB / 0.9539 GB, free: 5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.457e-06/0.2943, allocations: 0 / 0.9539 GB, free: 5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001307/0.2945, allocations: 63.48 kB / 0.954 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.2945, allocations: 0 / 0.954 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0002139/0.2947, allocations: 81.47 kB / 0.9541 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.2947, allocations: 55.39 kB / 0.9541 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.063e-05/0.2948, allocations: 106.1 kB / 0.9542 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.2948, allocations: 25.7 kB / 0.9543 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.988e-05/0.2949, allocations: 92.14 kB / 0.9543 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.2949, allocations: 11.83 kB / 0.9544 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.2949, allocations: 21.72 kB / 0.9544 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.2951, allocations: 318.8 kB / 0.9547 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.906e-05/0.2951, allocations: 7.938 kB / 0.9547 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.322e-05/0.2951, allocations: 40.28 kB / 0.9547 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.682e-05/0.2952, allocations: 56.23 kB / 0.9548 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2952, allocations: 0 / 0.9548 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001073/0.2953, allocations: 81.47 kB / 0.9549 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.2953, allocations: 11.88 kB / 0.9549 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.2954, allocations: 8.109 kB / 0.9549 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.2954, allocations: 4 kB / 0.9549 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.632e-05/0.2954, allocations: 8 kB / 0.9549 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.2955, allocations: 160 / 0.9549 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.899e-05/0.2955, allocations: 4 kB / 0.9549 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.2955, allocations: 11.92 kB / 0.9549 GB, free: 3.91 MB / 0.7325 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 7.122e-05/0.2956, allocations: 109.8 kB / 0.955 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.2956, allocations: 11.84 kB / 0.955 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.481e-05/0.2956, allocations: 7.547 kB / 0.955 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.2956, allocations: 4 kB / 0.955 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2957, allocations: 0 / 0.955 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.2957, allocations: 0 / 0.955 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.2958, allocations: 161.7 kB / 0.9552 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2958, allocations: 0 / 0.9552 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.929e-05/0.2958, allocations: 4 kB / 0.9552 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.2958, allocations: 3.938 kB / 0.9552 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.2959, allocations: 3.984 kB / 0.9552 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2959, allocations: 0 / 0.9552 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2959, allocations: 0 / 0.9552 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.296, allocations: 93.38 kB / 0.9553 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-05/0.2961, allocations: 85.02 kB / 0.9554 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.2961, allocations: 7.922 kB / 0.9554 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.569e-05/0.2961, allocations: 8 kB / 0.9554 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-05/0.2961, allocations: 4 kB / 0.9554 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.2962, allocations: 0 / 0.9554 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.482e-05/0.2962, allocations: 79.28 kB / 0.9555 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2962, allocations: 0 / 0.9555 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002648/0.2965, allocations: 43.98 kB / 0.9555 GB, free: 3.199 MB / 0.7325 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.0003292/0.2968, allocations: 162.4 kB / 0.9557 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001219/0.2969, allocations: 35.92 kB / 0.9557 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.297, allocations: 4 kB / 0.9557 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.178e-05/0.297, allocations: 16.23 kB / 0.9557 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.2971, allocations: 4 kB / 0.9557 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002394/0.2974, allocations: 117 kB / 0.9558 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.2976, allocations: 0.6805 MB / 0.9565 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.863e-05/0.2977, allocations: 4 kB / 0.9565 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.727e-05/0.2977, allocations: 11.44 kB / 0.9565 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.2977, allocations: 0 / 0.9565 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of Templates: time 0.003266/0.301, allocations: 1.086 MB / 0.9576 GB, free: 1.035 MB / 0.7325 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 -s cvode -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) "" Variables in the reference:time,y Variables in the result:A,B,C,seed,t0,time,y