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.0009113/0.0009113, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001444/0.001444, allocations: 181 kB / 24.09 MB, free: 420 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.9206/0.9206, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.751/1.751, allocations: 359 MB / 0.6055 GB, free: 10.91 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.543e-06/1.543e-06, allocations: 0 / 0.7875 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.347e-05/1.501e-05, allocations: 3.562 kB / 0.7875 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001554/0.001569, allocations: 1.26 MB / 0.7887 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0006102/0.002179, allocations: 384.5 kB / 0.7891 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.664e-05/0.002206, allocations: 3.938 kB / 0.7891 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.553e-05/0.002221, allocations: 0 / 0.7891 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.197e-05/0.002253, allocations: 4.781 kB / 0.7891 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004842/0.002737, allocations: 100.3 kB / 0.7892 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.888e-05/0.002796, allocations: 19.92 kB / 0.7892 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 2.872e-05/0.002825, allocations: 0.75 kB / 0.7892 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.407e-05/0.002859, allocations: 11.97 kB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.163e-05/0.002881, allocations: 5.25 kB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.002893, allocations: 0 / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.003077, allocations: 127.7 kB / 0.7894 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.262e-05/0.00309, allocations: 7.984 kB / 0.7894 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.695e-05/0.003107, allocations: 5.438 kB / 0.7894 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.003244, allocations: 103.6 kB / 0.7895 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.003247, allocations: 4 kB / 0.7895 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.71e-07/0.003247, allocations: 1.188 kB / 0.7895 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.856e-06/0.00325, allocations: 0 / 0.7895 GB, free: 10.12 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.0003258/0.003576, allocations: 389.9 kB / 0.7899 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.003611, allocations: 8.656 kB / 0.7899 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.667e-05/0.003637, allocations: 4.938 kB / 0.7899 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.639e-05/0.003704, allocations: 114.3 kB / 0.79 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.003719, allocations: 4.375 kB / 0.79 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-06/0.003726, allocations: 384 / 0.79 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.747e-05/0.003793, allocations: 51.89 kB / 0.79 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.869e-06/0.003798, allocations: 192 / 0.79 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-06/0.003805, allocations: 4.375 kB / 0.79 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.003809, allocations: 1.281 kB / 0.79 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.202e-05/0.003821, allocations: 7.922 kB / 0.79 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.497e-05/0.003906, allocations: 106.3 kB / 0.7901 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.153e-05/0.003967, allocations: 35.09 kB / 0.7902 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.556e-05/0.003983, allocations: 12.19 kB / 0.7902 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.33e-06/0.003988, allocations: 1.656 kB / 0.7902 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.028e-05/0.004058, allocations: 65.08 kB / 0.7903 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.004059, allocations: 0 / 0.7903 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001194/0.004178, allocations: 61.67 kB / 0.7903 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.004205, allocations: 53 kB / 0.7904 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.653e-05/0.004271, allocations: 157.9 kB / 0.7905 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.004281, allocations: 25.7 kB / 0.7905 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.331e-05/0.004314, allocations: 132.1 kB / 0.7907 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.00433, allocations: 15.88 kB / 0.7907 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.004356, allocations: 23.38 kB / 0.7907 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.004464, allocations: 0.4952 MB / 0.7912 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.616e-06/0.004472, allocations: 3.984 kB / 0.7912 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.412e-05/0.004496, allocations: 38.75 kB / 0.7912 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.767e-05/0.004544, allocations: 62.83 kB / 0.7913 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.004546, allocations: 0 / 0.7913 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.725e-05/0.004613, allocations: 70.3 kB / 0.7914 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.004625, allocations: 4.531 kB / 0.7914 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.00463, allocations: 0 / 0.7914 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.004641, allocations: 5.312 kB / 0.7914 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.981e-05/0.004701, allocations: 11.94 kB / 0.7914 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.004705, allocations: 0 / 0.7914 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.787e-05/0.004723, allocations: 12.45 kB / 0.7914 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.004729, allocations: 0 / 0.7914 GB, free: 7.941 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 7.185e-05/0.004801, allocations: 162 kB / 0.7915 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.753e-06/0.004807, allocations: 0 / 0.7915 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.626e-05/0.004834, allocations: 7.688 kB / 0.7915 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.31e-07/0.004835, allocations: 1.156 kB / 0.7915 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.004836, allocations: 0 / 0.7915 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.004842, allocations: 4 kB / 0.7916 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.563e-05/0.004907, allocations: 102.3 kB / 0.7917 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.004908, allocations: 0 / 0.7917 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.789e-06/0.004913, allocations: 0 / 0.7917 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.004915, allocations: 1.75 kB / 0.7917 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.619e-06/0.004919, allocations: 4 kB / 0.7917 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.00492, allocations: 0 / 0.7917 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.004921, allocations: 0 / 0.7917 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.966e-05/0.005, allocations: 100.2 kB / 0.7918 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.196e-06/0.005009, allocations: 17.11 kB / 0.7918 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.273e-06/0.005016, allocations: 0 / 0.7918 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.141e-05/0.005027, allocations: 0 / 0.7918 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/0.005045, allocations: 8.547 kB / 0.7918 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.005048, allocations: 4 kB / 0.7918 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.712e-05/0.005076, allocations: 122.6 kB / 0.7919 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.005076, allocations: 0 / 0.7919 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000181/0.005257, allocations: 27.94 kB / 0.7919 GB, free: 7.336 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.0002243/0.005481, allocations: 169.4 kB / 0.7921 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.061e-05/0.005552, allocations: 40.31 kB / 0.7921 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.005553, allocations: 1.531 kB / 0.7921 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.125e-05/0.005574, allocations: 15.69 kB / 0.7921 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.182e-05/0.005666, allocations: 3.938 kB / 0.7921 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001561/0.005822, allocations: 116.8 kB / 0.7923 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.817e-05/0.00585, allocations: 55.86 kB / 0.7923 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.562e-05/0.005866, allocations: 1.688 kB / 0.7923 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.399e-05/0.0059, allocations: 74.2 kB / 0.7924 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.0059, allocations: 0 / 0.7924 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of Templates: time 0.002585/0.008486, allocations: 1.115 MB / 0.7935 GB, free: 5.738 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: 4.859813597053289]