Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_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.001128/0.001128, allocations: 99.03 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 182 kB / 16.92 MB, free: 6.918 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.363/1.363, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.585/2.585, allocations: 437.8 MB / 0.7128 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003629/0.000363, allocations: 8 kB / 0.8735 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6837/0.6841, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.0015/0.6856, allocations: 0.9527 MB / 1.025 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009227/0.6866, allocations: 458.6 kB / 1.025 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.543e-05/0.6866, allocations: 0 / 1.025 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.723e-05/0.6867, allocations: 0 / 1.025 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.814e-05/0.6867, allocations: 0 / 1.025 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005071/0.6872, allocations: 87.77 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.107e-05/0.6873, allocations: 19.94 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.855e-05/0.6874, allocations: 7.984 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.473e-05/0.6874, allocations: 7.938 kB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.562e-05/0.6874, allocations: 15.92 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.6875, allocations: 4 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002125/0.6877, allocations: 103.8 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.699e-05/0.6877, allocations: 8 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.048e-05/0.6878, allocations: 41.62 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.6879, allocations: 63.91 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6879, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6879, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.688, allocations: 8 kB / 1.025 GB, free: 14.1 MB / 0.7794 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.0004397/0.6884, allocations: 379.1 kB / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.6884, allocations: 8.031 kB / 1.026 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.6885, allocations: 4.938 kB / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.6886, allocations: 168.2 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.6886, allocations: 4.375 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.6887, allocations: 4.375 kB / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.6888, allocations: 42.23 kB / 1.026 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.6888, allocations: 4.188 kB / 1.026 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.6888, allocations: 3.938 kB / 1.026 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.6888, allocations: 0 / 1.026 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.593e-05/0.6889, allocations: 11.94 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001745/0.6891, allocations: 165.7 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.427e-05/0.6891, allocations: 22.58 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.72e-05/0.6892, allocations: 16.84 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.6892, allocations: 4.078 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001483/0.6894, allocations: 63.34 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.6894, allocations: 0 / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0002217/0.6896, allocations: 77.8 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.6896, allocations: 55.41 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.651e-05/0.6897, allocations: 113.8 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.6898, allocations: 25.7 kB / 1.027 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.801e-05/0.6898, allocations: 88.08 kB / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.6898, allocations: 11.91 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.6899, allocations: 9.719 kB / 1.027 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.69, allocations: 322.8 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.96e-05/0.69, allocations: 4 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.612e-05/0.6901, allocations: 44.22 kB / 1.027 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.694e-05/0.6902, allocations: 56.23 kB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.6902, allocations: 0 / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000117/0.6903, allocations: 81.45 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.6903, allocations: 11.94 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.6903, allocations: 128 / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.6904, allocations: 8 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.458e-05/0.6904, allocations: 11.94 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.6904, allocations: 0 / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.758e-05/0.6905, allocations: 0 / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.6905, allocations: 4 kB / 1.027 GB, free: 12.05 MB / 0.7794 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.907e-05/0.6906, allocations: 122.3 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.6906, allocations: 3.938 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.912e-05/0.6907, allocations: 7.562 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.6907, allocations: 4 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.6907, allocations: 0 / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.6907, allocations: 0 / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.6908, allocations: 157.6 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.6908, allocations: 0 / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.905e-05/0.6909, allocations: 7.938 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.6909, allocations: 7.922 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.6909, allocations: 4 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.6909, allocations: 0 / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.6909, allocations: 0 / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.691, allocations: 89.12 kB / 1.028 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.332e-05/0.6911, allocations: 81.09 kB / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.6911, allocations: 7.938 kB / 1.028 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.38e-05/0.6911, allocations: 4 kB / 1.028 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.34e-05/0.6912, allocations: 320 / 1.028 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.6912, allocations: 4 kB / 1.028 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.857e-05/0.6912, allocations: 87.27 kB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6912, allocations: 0 / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002503/0.6915, allocations: 32 kB / 1.028 GB, free: 11.35 MB / 0.7794 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.0003366/0.6918, allocations: 171.3 kB / 1.028 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001029/0.6919, allocations: 35.92 kB / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.692, allocations: 0 / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.229e-05/0.692, allocations: 20.23 kB / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.6921, allocations: 5.125 kB / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000244/0.6924, allocations: 148.3 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.6927, allocations: 0.6809 MB / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.6e-05/0.6927, allocations: 7.438 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of SimCode: time 4.41e-07/0.6927, allocations: 0 / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of Templates: time 0.00288/0.6956, allocations: 1.273 MB / 1.03 GB, free: 8.961 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches