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.002459/0.002459, allocations: 79.7 kB / 20.23 MB, free: 4.195 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.002812/0.002812, allocations: 157.3 kB / 23.55 MB, free: 0.8828 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 1.592/1.592, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 2.876/2.876, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] 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.533e-06/1.533e-06, allocations: 0.6562 kB / 0.7863 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.956e-05/3.109e-05, allocations: 2.969 kB / 0.7863 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002602/0.002633, allocations: 1.236 MB / 0.7875 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009477/0.003581, allocations: 379.3 kB / 0.7879 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.002e-05/0.003611, allocations: 4 kB / 0.7879 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.732e-05/0.003628, allocations: 4.75 kB / 0.7879 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.396e-05/0.003672, allocations: 0 / 0.7879 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005942/0.004266, allocations: 104.3 kB / 0.788 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.503e-05/0.004341, allocations: 11.98 kB / 0.788 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.626e-05/0.004377, allocations: 10.16 kB / 0.788 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.258e-05/0.00442, allocations: 11.97 kB / 0.788 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.676e-05/0.004447, allocations: 3.938 kB / 0.7881 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.004461, allocations: 4 kB / 0.7881 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002837/0.004745, allocations: 127.7 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.004762, allocations: 3.984 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.492e-05/0.004787, allocations: 5.062 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.005001, allocations: 95.73 kB / 0.7883 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.005004, allocations: 0 / 0.7883 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.61e-07/0.005005, allocations: 1.562 kB / 0.7883 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.005012, allocations: 4 kB / 0.7883 GB, free: 10.83 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.0005973/0.00561, allocations: 397.8 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.005652, allocations: 13.38 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.984e-05/0.005702, allocations: 0.9375 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.00583, allocations: 112.6 kB / 0.7888 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.005853, allocations: 2.375 kB / 0.7888 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.005869, allocations: 4.375 kB / 0.7888 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.005984, allocations: 38.19 kB / 0.7888 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.005992, allocations: 192 / 0.7888 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.006003, allocations: 4.359 kB / 0.7888 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.006007, allocations: 384 / 0.7888 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.628e-05/0.006043, allocations: 14.16 kB / 0.7888 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001804/0.006224, allocations: 112.6 kB / 0.789 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.006343, allocations: 39.09 kB / 0.789 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.74e-05/0.006381, allocations: 11.69 kB / 0.789 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.006391, allocations: 0 / 0.789 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001355/0.006527, allocations: 75.19 kB / 0.7891 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.006528, allocations: 0 / 0.7891 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0002542/0.006782, allocations: 65.67 kB / 0.7891 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.006836, allocations: 55.41 kB / 0.7892 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.006976, allocations: 159.6 kB / 0.7893 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.007, allocations: 29.7 kB / 0.7894 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.419e-05/0.007075, allocations: 126.9 kB / 0.7895 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.915e-05/0.007114, allocations: 15.88 kB / 0.7895 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.205e-05/0.007166, allocations: 28.28 kB / 0.7895 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002745/0.00744, allocations: 492.1 kB / 0.79 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.821e-05/0.007469, allocations: 19.92 kB / 0.79 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.818e-05/0.007527, allocations: 39.38 kB / 0.7901 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.307e-05/0.00762, allocations: 64.61 kB / 0.7901 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.007622, allocations: 0 / 0.7901 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001196/0.007741, allocations: 72.02 kB / 0.7902 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.007759, allocations: 8 kB / 0.7902 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.007764, allocations: 0 / 0.7902 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.007779, allocations: 3.938 kB / 0.7902 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.563e-05/0.007865, allocations: 11.98 kB / 0.7902 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.714e-05/0.007882, allocations: 11.88 kB / 0.7902 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.169e-05/0.007904, allocations: 0.7188 kB / 0.7902 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.007918, allocations: 8 kB / 0.7902 GB, free: 8.602 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 0.0001355/0.008054, allocations: 157.1 kB / 0.7904 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.008066, allocations: 1.656 kB / 0.7904 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.008096, allocations: 7.688 kB / 0.7904 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.0081, allocations: 4 kB / 0.7904 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.008102, allocations: 0 / 0.7904 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.008108, allocations: 4.594 kB / 0.7904 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.008248, allocations: 116.6 kB / 0.7905 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.008248, allocations: 1.219 kB / 0.7905 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.117e-05/0.00826, allocations: 0 / 0.7905 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.008261, allocations: 0 / 0.7905 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.008272, allocations: 5.156 kB / 0.7905 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.008273, allocations: 0 / 0.7905 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.008273, allocations: 0 / 0.7905 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.008456, allocations: 109.6 kB / 0.7906 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.61e-06/0.008462, allocations: 0 / 0.7906 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.008478, allocations: 3.984 kB / 0.7906 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.989e-05/0.008498, allocations: 0 / 0.7906 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.153e-05/0.00853, allocations: 4.906 kB / 0.7906 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.008539, allocations: 4 kB / 0.7906 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.502e-05/0.008624, allocations: 128 kB / 0.7908 GB, free: 8 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.008624, allocations: 0 / 0.7908 GB, free: 8 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002512/0.008875, allocations: 33.14 kB / 0.7908 GB, free: 7.969 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.0005529/0.009428, allocations: 181 kB / 0.791 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000139/0.009567, allocations: 41.11 kB / 0.791 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.009568, allocations: 0 / 0.791 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.664e-05/0.009615, allocations: 15.69 kB / 0.791 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.009761, allocations: 11.98 kB / 0.791 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003291/0.01009, allocations: 115.4 kB / 0.7911 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.402e-05/0.01015, allocations: 59.34 kB / 0.7912 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.232e-05/0.01018, allocations: 7.219 kB / 0.7912 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.187e-05/0.0102, allocations: 8.5 kB / 0.7912 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/0.0102, allocations: 0 / 0.7912 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of Templates: time 0.004412/0.01461, allocations: 0.9921 MB / 0.7922 GB, free: 6.527 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 7.9798980499617755]