Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001315/0.001315, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.454/2.454, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 61.59 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.3864, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.003083/0.3895, allocations: 1.221 MB / 1.028 GB, free: 0.8477 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.3907, allocations: 448.9 kB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.386e-05/0.3907, allocations: 4 kB / 1.028 GB, free: 416 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.288e-05/0.3907, allocations: 3.938 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.943e-05/0.3908, allocations: 0 / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005961/0.3914, allocations: 103.7 kB / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.904e-05/0.3915, allocations: 23.86 kB / 1.028 GB, free: 284 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.604e-05/0.3915, allocations: 3.984 kB / 1.028 GB, free: 280 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.291e-05/0.3916, allocations: 8 kB / 1.028 GB, free: 272 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.229e-05/0.3916, allocations: 7.922 kB / 1.028 GB, free: 264 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.3916, allocations: 4 kB / 1.028 GB, free: 260 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002682/0.3919, allocations: 103.8 kB / 1.029 GB, free: 156 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.844e-05/0.3919, allocations: 8 kB / 1.029 GB, free: 148 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.227e-05/0.392, allocations: 7.938 kB / 1.029 GB, free: 140 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.3922, allocations: 95.86 kB / 1.029 GB, free: 44 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3922, allocations: 3.938 kB / 1.029 GB, free: 40 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3922, allocations: 0 / 1.029 GB, free: 40 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.3923, allocations: 0 / 1.029 GB, free: 40 kB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005742/0.3928, allocations: 373.2 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.3929, allocations: 12.03 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/0.3929, allocations: 4.844 kB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.3931, allocations: 164.4 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.3931, allocations: 8.375 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.3932, allocations: 4.359 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.3933, allocations: 42.19 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.3933, allocations: 192 / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.3933, allocations: 7.922 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3933, allocations: 0 / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.99e-05/0.3934, allocations: 4 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001873/0.3936, allocations: 153.7 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.3937, allocations: 34.61 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.478e-05/0.3938, allocations: 12.86 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.3938, allocations: 0 / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/0.3939, allocations: 59.42 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.683e-06/0.3939, allocations: 0 / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002504/0.3942, allocations: 77.55 kB / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.3943, allocations: 59.39 kB / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.3944, allocations: 105.8 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.3944, allocations: 25.7 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.224e-05/0.3945, allocations: 84.08 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.3945, allocations: 11.91 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.697e-05/0.3946, allocations: 17.72 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.3947, allocations: 322.8 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.058e-05/0.3948, allocations: 12 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.103e-05/0.3948, allocations: 31.42 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.39e-05/0.3949, allocations: 43.38 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3949, allocations: 0 / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001627/0.3951, allocations: 69.62 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.3951, allocations: 7.938 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.3951, allocations: 0 / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.3952, allocations: 4 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.999e-05/0.3953, allocations: 7.984 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.3953, allocations: 7.938 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.151e-05/0.3953, allocations: 3.938 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.3954, allocations: 8 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (7): * Single equations (assignments): 7 * 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 8.802e-05/0.3954, allocations: 113.9 kB / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.3955, allocations: 11.84 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.06e-05/0.3955, allocations: 7.5 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3955, allocations: 0 / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.3955, allocations: 432 / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.3956, allocations: 3.984 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.3957, allocations: 149.7 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.3957, allocations: 8 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.604e-05/0.3958, allocations: 0 / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3958, allocations: 3.938 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.3958, allocations: 7.984 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3958, allocations: 0 / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3958, allocations: 4 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.396, allocations: 89.05 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.892e-05/0.3961, allocations: 77.11 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.3961, allocations: 3.938 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.156e-05/0.3961, allocations: 4 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.489e-05/0.3962, allocations: 3.984 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-06/0.3962, allocations: 4 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.609e-05/0.3962, allocations: 79.28 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3963, allocations: 0 / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004336/0.3967, allocations: 35.98 kB / 1.031 GB, free: 13.34 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 (4): * Single equations (assignments): 2 * 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.0003891/0.3971, allocations: 164.9 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001478/0.3973, allocations: 35.92 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3973, allocations: 0 / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.954e-05/0.3973, allocations: 8 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.3976, allocations: 8 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/0.3979, allocations: 104.8 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.3982, allocations: 0.6806 MB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.53e-05/0.3982, allocations: 4.172 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.991e-05/0.3982, allocations: 15.44 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of SimCode: time 3.41e-07/0.3982, allocations: 0 / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of Templates: time 0.004654/0.4029, allocations: 1.043 MB / 1.033 GB, free: 11.24 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,seed,t0,time,y