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.001003/0.001003, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009861/0.0009861, allocations: 169 kB / 24.28 MB, free: 272 kB / 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.9556/0.9556, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.81/1.81, allocations: 359 MB / 0.6055 GB, free: 11 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.753e-06/1.753e-06, allocations: 0 / 0.787 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.723e-05, allocations: 4.844 kB / 0.787 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001994/0.002022, allocations: 1.261 MB / 0.7883 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009165/0.002938, allocations: 391.3 kB / 0.7887 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.215e-05/0.00297, allocations: 0.5625 kB / 0.7887 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.864e-05/0.002989, allocations: 1.438 kB / 0.7887 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.357e-05/0.003022, allocations: 0 / 0.7887 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005424/0.003565, allocations: 107.5 kB / 0.7888 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.284e-05/0.003638, allocations: 13.03 kB / 0.7888 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.599e-05/0.003684, allocations: 7.984 kB / 0.7888 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.793e-05/0.003722, allocations: 4 kB / 0.7888 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.017e-05/0.003752, allocations: 12.75 kB / 0.7888 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.003768, allocations: 0 / 0.7888 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002134/0.003981, allocations: 124.6 kB / 0.7889 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.003997, allocations: 3.984 kB / 0.7889 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.79e-05/0.004025, allocations: 7.984 kB / 0.7889 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003324/0.004358, allocations: 98.06 kB / 0.789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.004364, allocations: 0 / 0.789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.974e-06/0.004366, allocations: 4 kB / 0.789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.004371, allocations: 0 / 0.789 GB, free: 10.86 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.0004778/0.004849, allocations: 389.9 kB / 0.7894 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.004886, allocations: 13.88 kB / 0.7894 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.186e-05/0.004938, allocations: 8.922 kB / 0.7894 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.318e-05/0.005022, allocations: 120.8 kB / 0.7895 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.005041, allocations: 384 / 0.7895 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.005052, allocations: 4.375 kB / 0.7895 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.005197, allocations: 47.67 kB / 0.7896 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.005205, allocations: 192 / 0.7896 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.005215, allocations: 0.9062 kB / 0.7896 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.005224, allocations: 2.031 kB / 0.7896 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.246e-05/0.005246, allocations: 15.92 kB / 0.7896 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001342/0.00538, allocations: 112.6 kB / 0.7897 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.307e-05/0.005473, allocations: 43.03 kB / 0.7897 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.523e-05/0.005499, allocations: 12.22 kB / 0.7898 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.226e-06/0.005507, allocations: 0.5312 kB / 0.7898 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001059/0.005613, allocations: 69.91 kB / 0.7898 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.005614, allocations: 0 / 0.7898 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001785/0.005793, allocations: 66.77 kB / 0.7899 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.005828, allocations: 55.41 kB / 0.7899 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.131e-05/0.00591, allocations: 159.2 kB / 0.7901 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.00592, allocations: 29.7 kB / 0.7901 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.578e-05/0.005956, allocations: 126.9 kB / 0.7902 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.005976, allocations: 7.953 kB / 0.7903 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/0.006007, allocations: 33.11 kB / 0.7903 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.006121, allocations: 492.1 kB / 0.7908 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.486e-05/0.006136, allocations: 4 kB / 0.7908 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.205e-05/0.006168, allocations: 46.73 kB / 0.7908 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.232e-05/0.006221, allocations: 51.88 kB / 0.7908 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.006224, allocations: 1.344 kB / 0.7909 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.012e-05/0.006304, allocations: 77.5 kB / 0.7909 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.006319, allocations: 5.531 kB / 0.7909 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.006324, allocations: 4 kB / 0.7909 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.006336, allocations: 0 / 0.7909 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.378e-05/0.00641, allocations: 8 kB / 0.7909 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.006417, allocations: 6.906 kB / 0.7909 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.415e-05/0.006431, allocations: 4 kB / 0.791 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.006441, allocations: 11.98 kB / 0.791 GB, free: 8.637 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 6.952e-05/0.006511, allocations: 156.6 kB / 0.7911 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.137e-06/0.00652, allocations: 4 kB / 0.7911 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3e-05/0.00655, allocations: 7.688 kB / 0.7911 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.006552, allocations: 0 / 0.7911 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.006555, allocations: 4.438 kB / 0.7911 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.00656, allocations: 4.469 kB / 0.7911 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.175e-05/0.006642, allocations: 112.6 kB / 0.7912 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.006643, allocations: 1.938 kB / 0.7912 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.079e-05/0.006653, allocations: 4 kB / 0.7912 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.006655, allocations: 0 / 0.7912 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.006661, allocations: 0 / 0.7912 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.006661, allocations: 0 / 0.7912 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.006664, allocations: 6.594 kB / 0.7913 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.006772, allocations: 108.2 kB / 0.7914 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-06/0.00678, allocations: 3.938 kB / 0.7914 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.024e-05/0.00679, allocations: 4 kB / 0.7914 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.894e-05/0.006809, allocations: 0 / 0.7914 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/0.006834, allocations: 3.984 kB / 0.7914 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.00684, allocations: 4 kB / 0.7914 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.366e-05/0.006873, allocations: 124 kB / 0.7915 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.006874, allocations: 4.781 kB / 0.7915 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002215/0.007095, allocations: 31.92 kB / 0.7915 GB, free: 7.996 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.0003202/0.007415, allocations: 170.5 kB / 0.7917 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.586e-05/0.007511, allocations: 28.39 kB / 0.7917 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.007513, allocations: 6.781 kB / 0.7917 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.37e-05/0.007537, allocations: 19.69 kB / 0.7917 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000106/0.007643, allocations: 7.984 kB / 0.7917 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002226/0.007865, allocations: 110.3 kB / 0.7919 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.588e-05/0.007901, allocations: 51.36 kB / 0.7919 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.095e-05/0.007922, allocations: 4 kB / 0.7919 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.712e-05/0.007939, allocations: 10.56 kB / 0.7919 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of SimCode: time 7.61e-07/0.00794, allocations: 0 / 0.7919 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of Templates: time 0.002836/0.01078, allocations: 1.003 MB / 0.7929 GB, free: 6.57 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.145395499188453]