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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009781/0.0009781, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000956/0.000956, allocations: 164.7 kB / 24.87 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9479/0.9479, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.789/1.789, allocations: 359 MB / 0.6063 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.623e-06/1.623e-06, allocations: 0 / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.502e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.0023/0.002325, allocations: 1.268 MB / 0.7895 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0006699/0.002995, allocations: 384.7 kB / 0.7899 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.056e-05/0.003025, allocations: 0 / 0.7899 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.795e-05/0.003043, allocations: 0 / 0.7899 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.11e-05/0.003084, allocations: 3.984 kB / 0.7899 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000454/0.003538, allocations: 100.1 kB / 0.79 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.652e-05/0.003595, allocations: 17 kB / 0.79 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.497e-05/0.00363, allocations: 7.922 kB / 0.79 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.974e-05/0.003669, allocations: 7.984 kB / 0.79 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.709e-05/0.003696, allocations: 13.45 kB / 0.79 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.003711, allocations: 0 / 0.79 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.003911, allocations: 119.7 kB / 0.7901 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.003925, allocations: 7.938 kB / 0.7901 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.003944, allocations: 6.469 kB / 0.7901 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.004089, allocations: 103.7 kB / 0.7902 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.004092, allocations: 0 / 0.7902 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.92e-07/0.004092, allocations: 0 / 0.7902 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.004097, allocations: 0 / 0.7902 GB, free: 10.26 MB / 0.7448 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.0003567/0.004454, allocations: 389.9 kB / 0.7906 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.004485, allocations: 9.781 kB / 0.7906 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.577e-05/0.004511, allocations: 4.938 kB / 0.7906 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.731e-05/0.004588, allocations: 116.9 kB / 0.7907 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.004606, allocations: 8.312 kB / 0.7907 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.582e-06/0.004612, allocations: 0.9688 kB / 0.7907 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.568e-05/0.004688, allocations: 54.89 kB / 0.7908 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.004695, allocations: 0.6875 kB / 0.7908 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.004701, allocations: 1.531 kB / 0.7908 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.004705, allocations: 384 / 0.7908 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.283e-05/0.004718, allocations: 7.938 kB / 0.7908 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.408e-05/0.004812, allocations: 103 kB / 0.7909 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.703e-05/0.004879, allocations: 39.08 kB / 0.7909 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.555e-05/0.004895, allocations: 11.69 kB / 0.791 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.59e-06/0.004901, allocations: 3.938 kB / 0.791 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.484e-05/0.004975, allocations: 58.5 kB / 0.791 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.004976, allocations: 0 / 0.791 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001418/0.005118, allocations: 62.64 kB / 0.7911 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.005153, allocations: 55.34 kB / 0.7911 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.285e-05/0.005236, allocations: 158.7 kB / 0.7913 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.005248, allocations: 25.7 kB / 0.7913 GB, free: 9 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.195e-05/0.00529, allocations: 137.5 kB / 0.7914 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.005313, allocations: 7.953 kB / 0.7914 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.005342, allocations: 23.36 kB / 0.7915 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.005484, allocations: 0.4922 MB / 0.7919 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.001e-05/0.005494, allocations: 4 kB / 0.7919 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.963e-05/0.005523, allocations: 38.73 kB / 0.792 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.448e-05/0.005578, allocations: 55.92 kB / 0.792 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.00558, allocations: 0 / 0.792 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.031e-05/0.00565, allocations: 71.95 kB / 0.7921 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.005664, allocations: 4 kB / 0.7921 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.00567, allocations: 3.984 kB / 0.7921 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.00568, allocations: 8.031 kB / 0.7921 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.157e-05/0.005752, allocations: 12.44 kB / 0.7921 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.005755, allocations: 0.5938 kB / 0.7921 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.725e-05/0.005773, allocations: 7.938 kB / 0.7921 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.005778, allocations: 0.7812 kB / 0.7921 GB, free: 8.082 MB / 0.7448 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 5.96e-05/0.005837, allocations: 161.7 kB / 0.7923 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.604e-06/0.005845, allocations: 3.984 kB / 0.7923 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.165e-05/0.005867, allocations: 11.62 kB / 0.7923 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-06/0.005868, allocations: 1.375 kB / 0.7923 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.005872, allocations: 4 kB / 0.7923 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.005874, allocations: 0 / 0.7923 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.14e-05/0.005936, allocations: 97.2 kB / 0.7924 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.005936, allocations: 0.9062 kB / 0.7924 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.839e-06/0.005941, allocations: 0 / 0.7924 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.005943, allocations: 4.781 kB / 0.7924 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/0.005948, allocations: 3.984 kB / 0.7924 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.1e-07/0.005948, allocations: 1.281 kB / 0.7924 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.01e-07/0.005949, allocations: 3.938 kB / 0.7924 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.298e-05/0.006022, allocations: 100.3 kB / 0.7925 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-06/0.00603, allocations: 11.92 kB / 0.7925 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.873e-06/0.006037, allocations: 0.8438 kB / 0.7925 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.086e-05/0.006048, allocations: 0 / 0.7925 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.44e-05/0.006062, allocations: 5.281 kB / 0.7925 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.006064, allocations: 0 / 0.7925 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.014e-05/0.006095, allocations: 123.2 kB / 0.7927 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.006095, allocations: 1.25 kB / 0.7927 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001518/0.006246, allocations: 31.94 kB / 0.7927 GB, free: 7.469 MB / 0.7448 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.0002561/0.006502, allocations: 165.9 kB / 0.7928 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.689e-05/0.006579, allocations: 42.17 kB / 0.7929 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.82e-07/0.00658, allocations: 0 / 0.7929 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.24e-05/0.006602, allocations: 23.61 kB / 0.7929 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001014/0.006704, allocations: 3.938 kB / 0.7929 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001762/0.00688, allocations: 110.3 kB / 0.793 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.221e-05/0.006912, allocations: 59.84 kB / 0.7931 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.783e-05/0.00693, allocations: 4.469 kB / 0.7931 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/0.006965, allocations: 72.14 kB / 0.7931 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of SimCode: time 4.1e-07/0.006966, allocations: 0 / 0.7931 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of Templates: time 0.002506/0.009472, allocations: 1.114 MB / 0.7942 GB, free: 5.863 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.csv","",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 filterSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.diff.mat", vars={"y"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] filterSimulationResults("/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.diff.ref.mat", vars={"y"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 5.050621290225536]