Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.001072/0.001072, 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.001226/0.001226, 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.9143/0.9143, allocations: 177.1 MB / 204.5 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.742/1.742, allocations: 359 MB / 0.6055 GB, free: 10.87 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.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.865e-06/2.865e-06, allocations: 0 / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.744e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001313/0.001341, allocations: 0.6133 MB / 0.7881 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.002507, allocations: 1.16 MB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.967e-05/0.002547, allocations: 3.938 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.497e-05/0.002572, allocations: 0 / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.722e-05/0.002639, allocations: 7.922 kB / 0.7893 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003595/0.002998, allocations: 124.6 kB / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.003116, allocations: 93.39 kB / 0.7895 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.349e-05/0.003189, allocations: 4 kB / 0.7895 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.634e-05/0.003276, allocations: 51.89 kB / 0.7895 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.417e-05/0.00336, allocations: 31.89 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.003381, allocations: 8.531 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.428e-05/0.003435, allocations: 17.59 kB / 0.7896 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.822e-05/0.003453, allocations: 7.984 kB / 0.7896 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.458e-05/0.003488, allocations: 27.91 kB / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.003611, allocations: 83.77 kB / 0.7897 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.003614, allocations: 0 / 0.7897 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.52e-07/0.003615, allocations: 0.9062 kB / 0.7897 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.00362, allocations: 0 / 0.7897 GB, free: 9.984 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.0003386/0.003959, allocations: 398.9 kB / 0.7901 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.003996, allocations: 8.031 kB / 0.7901 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/0.004029, allocations: 10.28 kB / 0.7901 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.021e-05/0.004099, allocations: 112.6 kB / 0.7902 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.004114, allocations: 4.375 kB / 0.7902 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.004127, allocations: 6.375 kB / 0.7902 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.17e-05/0.004199, allocations: 50.95 kB / 0.7903 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.099e-06/0.004204, allocations: 192 / 0.7903 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.004213, allocations: 8.359 kB / 0.7903 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.004217, allocations: 384 / 0.7903 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.821e-05/0.004235, allocations: 11.86 kB / 0.7903 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002568/0.004492, allocations: 266.5 kB / 0.7905 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.369e-05/0.004536, allocations: 31.06 kB / 0.7906 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.56e-05/0.004551, allocations: 15.73 kB / 0.7906 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-06/0.004557, allocations: 0 / 0.7906 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.868e-05/0.004636, allocations: 68.97 kB / 0.7907 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.004637, allocations: 0.7188 kB / 0.7907 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001367/0.004774, allocations: 66.11 kB / 0.7907 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003058/0.00508, allocations: 51.41 kB / 0.7908 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.251e-05/0.005152, allocations: 167.6 kB / 0.7909 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.005167, allocations: 29.7 kB / 0.791 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.856e-05/0.005216, allocations: 134.9 kB / 0.7911 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.004e-05/0.005226, allocations: 11.94 kB / 0.7911 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.397e-05/0.00527, allocations: 36.02 kB / 0.7911 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.005373, allocations: 496.1 kB / 0.7916 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.927e-05/0.005422, allocations: 54.89 kB / 0.7917 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.046e-05/0.005473, allocations: 80.69 kB / 0.7917 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.286e-05/0.005535, allocations: 85.95 kB / 0.7918 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.005537, allocations: 0 / 0.7918 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001589/0.005696, allocations: 174.3 kB / 0.792 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/0.005729, allocations: 39.73 kB / 0.792 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.005734, allocations: 0 / 0.792 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.005748, allocations: 5.688 kB / 0.792 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.422e-05/0.005792, allocations: 7.938 kB / 0.792 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.005795, allocations: 0 / 0.792 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.005896, allocations: 23.97 kB / 0.7921 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.005908, allocations: 4.875 kB / 0.7921 GB, free: 7.32 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y,booToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.149e-05/0.005979, allocations: 162.1 kB / 0.7922 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.02e-05/0.005989, allocations: 4 kB / 0.7922 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.301e-05/0.006012, allocations: 7.984 kB / 0.7922 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.006016, allocations: 3.938 kB / 0.7922 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.006017, allocations: 0 / 0.7922 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.00602, allocations: 1.125 kB / 0.7922 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.243e-05/0.006093, allocations: 109.2 kB / 0.7923 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.006095, allocations: 3.984 kB / 0.7923 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.049e-05/0.006106, allocations: 3.219 kB / 0.7923 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.006107, allocations: 3.938 kB / 0.7923 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-06/0.006111, allocations: 4 kB / 0.7923 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.006112, allocations: 0 / 0.7923 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.006113, allocations: 0 / 0.7923 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.31e-05/0.006196, allocations: 92.31 kB / 0.7924 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.024e-05/0.006206, allocations: 11.94 kB / 0.7924 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.395e-06/0.006215, allocations: 0 / 0.7924 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.377e-06/0.006224, allocations: 4.5 kB / 0.7924 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.973e-05/0.006244, allocations: 3.938 kB / 0.7925 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-06/0.006248, allocations: 5.938 kB / 0.7925 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.837e-05/0.006286, allocations: 127.2 kB / 0.7926 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.006286, allocations: 0 / 0.7926 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001337/0.00642, allocations: 20 kB / 0.7926 GB, free: 6.711 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: 4 ($whenCondition1,$whenCondition2,booToInt.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001326/0.006553, allocations: 103.6 kB / 0.7927 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001454/0.006698, allocations: 141 kB / 0.7928 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.0067, allocations: 0 / 0.7928 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.173e-05/0.006722, allocations: 27.73 kB / 0.7929 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.00688, allocations: 8.906 kB / 0.7929 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002292/0.007109, allocations: 138.1 kB / 0.793 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.878e-05/0.007138, allocations: 52.2 kB / 0.793 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.85e-05/0.007156, allocations: 4 kB / 0.7931 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.279e-05/0.007229, allocations: 91.45 kB / 0.7931 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of SimCode: time 9.01e-07/0.00723, allocations: 0 / 0.7931 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of Templates: time 0.003134/0.01036, allocations: 1.3 MB / 0.7944 GB, free: 4.824 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.7962883450090885]