Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009193/0.0009193, allocations: 73.09 kB / 20.66 MB, free: 3.848 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.0009461/0.0009461, allocations: 169 kB / 24.06 MB, free: 460 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 1.078/1.078, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.342/2.342, allocations: 429.5 MB / 0.6743 GB, free: 3.941 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.8794 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.698e-05/1.871e-05, allocations: 4.844 kB / 0.8794 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001231/0.001249, allocations: 0.6246 MB / 0.88 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.002525, allocations: 1.158 MB / 0.8811 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.874e-05/0.002574, allocations: 0 / 0.8811 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.747e-05/0.002601, allocations: 1.344 kB / 0.8811 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.973e-05/0.002681, allocations: 16.95 kB / 0.8811 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000418/0.003099, allocations: 124.3 kB / 0.8812 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.00324, allocations: 88.48 kB / 0.8813 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.372e-05/0.003324, allocations: 4 kB / 0.8813 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.139e-05/0.003415, allocations: 53.53 kB / 0.8814 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.781e-05/0.003503, allocations: 19.97 kB / 0.8814 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.003524, allocations: 11.94 kB / 0.8814 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.732e-05/0.003582, allocations: 23.98 kB / 0.8814 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.25e-05/0.003604, allocations: 6.078 kB / 0.8814 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.698e-05/0.003641, allocations: 27.98 kB / 0.8815 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.003778, allocations: 83.7 kB / 0.8816 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.003781, allocations: 0 / 0.8816 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.71e-07/0.003781, allocations: 0 / 0.8816 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.003786, allocations: 0 / 0.8816 GB, free: 3.836 MB / 0.8386 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.000386/0.004172, allocations: 404.7 kB / 0.8819 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.00421, allocations: 8.031 kB / 0.8819 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/0.004249, allocations: 8.891 kB / 0.882 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.548e-05/0.004335, allocations: 112.6 kB / 0.8821 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.004355, allocations: 8.375 kB / 0.8821 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.004369, allocations: 4.375 kB / 0.8821 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.241e-05/0.004441, allocations: 47.67 kB / 0.8821 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.004449, allocations: 192 / 0.8821 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-06/0.004456, allocations: 2.031 kB / 0.8821 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.004461, allocations: 384 / 0.8821 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.137e-05/0.004482, allocations: 11.88 kB / 0.8821 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002911/0.004774, allocations: 276.3 kB / 0.8824 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.714e-05/0.004821, allocations: 28.41 kB / 0.8824 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.184e-05/0.004833, allocations: 7.688 kB / 0.8824 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.29e-06/0.004838, allocations: 4.062 kB / 0.8824 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.039e-05/0.004918, allocations: 64.98 kB / 0.8825 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.004919, allocations: 0 / 0.8825 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001386/0.005058, allocations: 65.61 kB / 0.8826 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.005094, allocations: 55.41 kB / 0.8826 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.038e-05/0.005174, allocations: 165.9 kB / 0.8828 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.005193, allocations: 29.7 kB / 0.8828 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/0.00525, allocations: 138.8 kB / 0.8829 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.945e-06/0.005258, allocations: 3.953 kB / 0.8829 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.934e-05/0.005307, allocations: 43.34 kB / 0.883 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.005445, allocations: 496.1 kB / 0.8834 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.765e-05/0.005492, allocations: 49.62 kB / 0.8835 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.208e-05/0.005555, allocations: 96.66 kB / 0.8836 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.915e-05/0.005624, allocations: 80.75 kB / 0.8837 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.005626, allocations: 0 / 0.8837 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001604/0.005786, allocations: 161 kB / 0.8838 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.005818, allocations: 37.69 kB / 0.8839 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.005824, allocations: 4 kB / 0.8839 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.005834, allocations: 3.938 kB / 0.8839 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.174e-05/0.005876, allocations: 7.938 kB / 0.8839 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.005879, allocations: 4.062 kB / 0.8839 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.005991, allocations: 20 kB / 0.8839 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.006008, allocations: 11.98 kB / 0.8839 GB, free: 1.16 MB / 0.8386 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.871e-05/0.006087, allocations: 160.6 kB / 0.8841 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.727e-06/0.006096, allocations: 4 kB / 0.8841 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.197e-05/0.006118, allocations: 8.234 kB / 0.8841 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.006122, allocations: 3.938 kB / 0.8841 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.006126, allocations: 3.984 kB / 0.8841 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.00613, allocations: 0 / 0.8841 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.815e-05/0.006208, allocations: 109.2 kB / 0.8842 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.006209, allocations: 0 / 0.8842 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.067e-05/0.00622, allocations: 4 kB / 0.8842 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.01e-07/0.006221, allocations: 0 / 0.8842 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-06/0.006225, allocations: 0 / 0.8842 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.006226, allocations: 0 / 0.8842 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.006228, allocations: 4 kB / 0.8842 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.33e-05/0.006312, allocations: 100.2 kB / 0.8843 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-06/0.006317, allocations: 0 / 0.8843 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-06/0.006327, allocations: 0 / 0.8843 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.085e-06/0.006335, allocations: 4 kB / 0.8843 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.282e-05/0.006358, allocations: 11.92 kB / 0.8843 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.006362, allocations: 4 kB / 0.8843 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.169e-05/0.006403, allocations: 123.2 kB / 0.8844 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4e-08/0.006403, allocations: 0 / 0.8844 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001363/0.00654, allocations: 16 kB / 0.8844 GB, free: 0.5547 MB / 0.8386 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.0001107/0.00665, allocations: 107.2 kB / 0.8845 GB, free: 448 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001519/0.006802, allocations: 144.6 kB / 0.8847 GB, free: 280 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.006803, allocations: 4 kB / 0.8847 GB, free: 276 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.14e-05/0.006825, allocations: 15.81 kB / 0.8847 GB, free: 256 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.00697, allocations: 17.19 kB / 0.8847 GB, free: 240 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002119/0.007182, allocations: 130.1 kB / 0.8848 GB, free: 80 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.267e-05/0.007215, allocations: 59.34 kB / 0.8849 GB, free: 0 / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.401e-05/0.007229, allocations: 0 / 0.8849 GB, free: 0 / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.089e-05/0.00731, allocations: 86.19 kB / 0.885 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of SimCode: time 4.31e-07/0.00731, allocations: 0 / 0.885 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of Templates: time 0.00326/0.01057, allocations: 1.336 MB / 0.8863 GB, free: 14.61 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.111554936040193]