Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002251/0.002251, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001941/0.001941, allocations: 196.9 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.639/1.639, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.915/2.915, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002924/0.002924, allocations: 64.14 kB / 1.109 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7811/0.7841, allocations: 168.7 MB / 1.274 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002346/0.7864, allocations: 1.206 MB / 1.275 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008462/0.7873, allocations: 398.6 kB / 1.276 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.323e-05/0.7873, allocations: 4 kB / 1.276 GB, free: 3 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.652e-05/0.7873, allocations: 0 / 1.276 GB, free: 3 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.808e-05/0.7873, allocations: 0 / 1.276 GB, free: 3 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005039/0.7878, allocations: 95.64 kB / 1.276 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.749e-05/0.7879, allocations: 15.98 kB / 1.276 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.81e-05/0.7879, allocations: 4 kB / 1.276 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.924e-05/0.788, allocations: 11.98 kB / 1.276 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.778e-05/0.788, allocations: 3.938 kB / 1.276 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.788, allocations: 4 kB / 1.276 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/0.7882, allocations: 91.83 kB / 1.276 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.7882, allocations: 15.98 kB / 1.276 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.948e-05/0.7883, allocations: 7.922 kB / 1.276 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.7884, allocations: 86.5 kB / 1.276 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.7885, allocations: 0 / 1.276 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7885, allocations: 0 / 1.276 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.7885, allocations: 3.938 kB / 1.276 GB, free: 2.668 MB / 0.9669 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.0005384/0.789, allocations: 384.9 kB / 1.276 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.789, allocations: 8.031 kB / 1.276 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.7891, allocations: 0.9375 kB / 1.276 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.7892, allocations: 164.4 kB / 1.276 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.7892, allocations: 4.375 kB / 1.276 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.7892, allocations: 384 / 1.276 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.7893, allocations: 46.23 kB / 1.276 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.7894, allocations: 192 / 1.276 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.7894, allocations: 3.938 kB / 1.276 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.7894, allocations: 0 / 1.276 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.117e-05/0.7894, allocations: 4 kB / 1.276 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000186/0.7896, allocations: 157.7 kB / 1.277 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.137e-05/0.7897, allocations: 30.55 kB / 1.277 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.293e-05/0.7897, allocations: 8.859 kB / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.7897, allocations: 3.938 kB / 1.277 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001344/0.7899, allocations: 67.42 kB / 1.277 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.7899, allocations: 0 / 1.277 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002012/0.7901, allocations: 69.56 kB / 1.277 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.7901, allocations: 59.39 kB / 1.277 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.659e-05/0.7902, allocations: 93.86 kB / 1.277 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.7902, allocations: 29.7 kB / 1.277 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.286e-05/0.7903, allocations: 80.14 kB / 1.277 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.7903, allocations: 11.94 kB / 1.277 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.7903, allocations: 25.7 kB / 1.277 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.7905, allocations: 315 kB / 1.277 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.244e-05/0.7905, allocations: 8 kB / 1.277 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.161e-05/0.7905, allocations: 31.42 kB / 1.277 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.061e-05/0.7906, allocations: 43.38 kB / 1.277 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.7906, allocations: 4 kB / 1.277 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001123/0.7907, allocations: 77.5 kB / 1.278 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.7907, allocations: 13.44 kB / 1.278 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.7907, allocations: 4 kB / 1.278 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.7907, allocations: 0 / 1.278 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.329e-05/0.7908, allocations: 4 kB / 1.278 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.7908, allocations: 4 kB / 1.278 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.231e-05/0.7908, allocations: 0 / 1.278 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.7908, allocations: 4 kB / 1.278 GB, free: 0.6875 MB / 0.9669 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 9.385e-05/0.7909, allocations: 122.4 kB / 1.278 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.791, allocations: 7.922 kB / 1.278 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.062e-05/0.791, allocations: 3.5 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.791, allocations: 0 / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.791, allocations: 0 / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.791, allocations: 0 / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.7911, allocations: 153.7 kB / 1.278 GB, free: 356 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7911, allocations: 3.938 kB / 1.278 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.117e-05/0.7911, allocations: 4 kB / 1.278 GB, free: 348 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/0.7911, allocations: 7.938 kB / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.7911, allocations: 0 / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.7911, allocations: 4 kB / 1.278 GB, free: 336 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.7912, allocations: 4 kB / 1.278 GB, free: 332 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.7913, allocations: 85.06 kB / 1.278 GB, free: 228 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.7913, allocations: 77.11 kB / 1.278 GB, free: 132 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.7913, allocations: 3.938 kB / 1.278 GB, free: 128 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.473e-05/0.7914, allocations: 7.984 kB / 1.278 GB, free: 120 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.092e-05/0.7914, allocations: 8 kB / 1.278 GB, free: 112 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.7914, allocations: 0 / 1.278 GB, free: 112 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.541e-05/0.7914, allocations: 79.22 kB / 1.278 GB, free: 32 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.7914, allocations: 4 kB / 1.278 GB, free: 28 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002647/0.7917, allocations: 31.97 kB / 1.278 GB, free: 15.99 MB / 0.9825 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.0003942/0.7921, allocations: 173.1 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001091/0.7922, allocations: 23.98 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7922, allocations: 0 / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.722e-05/0.7923, allocations: 11.94 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.7924, allocations: 4 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000263/0.7927, allocations: 106.4 kB / 1.278 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/0.7931, allocations: 0.6768 MB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.041e-05/0.7931, allocations: 8.188 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.671e-05/0.7931, allocations: 7.438 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of SimCode: time 3.5e-07/0.7931, allocations: 0 / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of Templates: time 0.003707/0.7968, allocations: 0.9684 MB / 1.28 GB, free: 13.98 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:seed,t0,time,y [Calling sys.exit(0), Time elapsed: 8.869310880079865]