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.001091/0.001091, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001232/0.001232, allocations: 173 kB / 23.49 MB, free: 1.059 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.145/1.145, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.29/2.29, allocations: 429.5 MB / 0.6736 GB, free: 4.059 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 3.246e-06/3.246e-06, allocations: 0 / 0.8782 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.039e-05/4.363e-05, allocations: 6.438 kB / 0.8782 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001538/0.001582, allocations: 0.6219 MB / 0.8788 GB, free: 6.066 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.002877, allocations: 1.159 MB / 0.8799 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.064e-05/0.002927, allocations: 0 / 0.8799 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.992e-05/0.002957, allocations: 7.938 kB / 0.8799 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.317e-05/0.00304, allocations: 5.25 kB / 0.8799 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004525/0.003493, allocations: 115.6 kB / 0.88 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.003648, allocations: 100.6 kB / 0.8801 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.00375, allocations: 0 / 0.8801 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.757e-05/0.003847, allocations: 53.25 kB / 0.8802 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.148e-05/0.003939, allocations: 27.94 kB / 0.8802 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/0.003966, allocations: 8 kB / 0.8802 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.227e-05/0.004028, allocations: 19.98 kB / 0.8802 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.147e-05/0.004049, allocations: 4.906 kB / 0.8802 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.976e-05/0.004099, allocations: 31.91 kB / 0.8803 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.004262, allocations: 73.33 kB / 0.8803 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.004268, allocations: 4 kB / 0.8803 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.22e-07/0.004269, allocations: 0 / 0.8803 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.004275, allocations: 0 / 0.8803 GB, free: 4.461 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.0004426/0.004718, allocations: 403.5 kB / 0.8807 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.004763, allocations: 8.031 kB / 0.8807 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.326e-05/0.004827, allocations: 12.83 kB / 0.8807 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.987e-05/0.004927, allocations: 112.6 kB / 0.8808 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.004952, allocations: 15.73 kB / 0.8809 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.004968, allocations: 4.375 kB / 0.8809 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.005069, allocations: 46.95 kB / 0.8809 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.005077, allocations: 192 / 0.8809 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.005089, allocations: 384 / 0.8809 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.005097, allocations: 384 / 0.8809 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.104e-05/0.005128, allocations: 7.938 kB / 0.8809 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003867/0.005514, allocations: 291.6 kB / 0.8812 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.805e-05/0.005573, allocations: 35.59 kB / 0.8812 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.033e-05/0.005593, allocations: 11.75 kB / 0.8812 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.844e-06/0.005601, allocations: 1.5 kB / 0.8812 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001135/0.005714, allocations: 65.05 kB / 0.8813 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.005716, allocations: 0 / 0.8813 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002094/0.005925, allocations: 73.55 kB / 0.8814 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.00597, allocations: 55.41 kB / 0.8814 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.006072, allocations: 165.9 kB / 0.8816 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.006093, allocations: 29.7 kB / 0.8816 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.351e-05/0.006157, allocations: 134.8 kB / 0.8817 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.254e-05/0.006169, allocations: 7.953 kB / 0.8817 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.489e-05/0.006224, allocations: 39.36 kB / 0.8818 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.006352, allocations: 496.1 kB / 0.8823 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.38e-05/0.006425, allocations: 53.69 kB / 0.8823 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.604e-05/0.006501, allocations: 88.73 kB / 0.8824 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.222e-05/0.006594, allocations: 96.73 kB / 0.8825 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.006597, allocations: 0 / 0.8825 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001991/0.006796, allocations: 173.2 kB / 0.8827 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.01e-05/0.006846, allocations: 41.62 kB / 0.8827 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.006853, allocations: 0 / 0.8827 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.00687, allocations: 4 kB / 0.8827 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.018e-05/0.00694, allocations: 3.984 kB / 0.8827 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.006949, allocations: 7.938 kB / 0.8827 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.00709, allocations: 28 kB / 0.8827 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.007105, allocations: 7.984 kB / 0.8827 GB, free: 1.719 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 8.644e-05/0.007191, allocations: 156.6 kB / 0.8829 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.121e-05/0.007202, allocations: 4 kB / 0.8829 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.018e-05/0.007232, allocations: 11.94 kB / 0.8829 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.007235, allocations: 0 / 0.8829 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.007239, allocations: 4 kB / 0.8829 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.007243, allocations: 0 / 0.8829 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.154e-05/0.007334, allocations: 116.6 kB / 0.883 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.007336, allocations: 0 / 0.883 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.454e-05/0.007351, allocations: 8 kB / 0.883 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.007353, allocations: 3.984 kB / 0.883 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.007361, allocations: 3.938 kB / 0.883 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.007362, allocations: 3.938 kB / 0.883 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.007364, allocations: 0 / 0.883 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.007471, allocations: 100.3 kB / 0.8831 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-06/0.00748, allocations: 0 / 0.8831 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.007501, allocations: 7.984 kB / 0.8831 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.723e-05/0.007518, allocations: 3.938 kB / 0.8831 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.007558, allocations: 0 / 0.8831 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.007564, allocations: 4 kB / 0.8832 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.109e-05/0.007616, allocations: 135.2 kB / 0.8833 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.007616, allocations: 0 / 0.8833 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001658/0.007781, allocations: 16 kB / 0.8833 GB, free: 1.082 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.0001643/0.007946, allocations: 99.19 kB / 0.8834 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002052/0.008151, allocations: 148.7 kB / 0.8835 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.008153, allocations: 0 / 0.8835 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3e-05/0.008183, allocations: 23.67 kB / 0.8836 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.008391, allocations: 15.23 kB / 0.8836 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.008731, allocations: 126.2 kB / 0.8837 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.606e-05/0.008767, allocations: 59.34 kB / 0.8837 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.468e-05/0.008792, allocations: 4 kB / 0.8837 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.222e-05/0.008814, allocations: 8.5 kB / 0.8838 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of SimCode: time 1.012e-06/0.008815, allocations: 0 / 0.8838 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of Templates: time 0.003478/0.01229, allocations: 1.205 MB / 0.8849 GB, free: 15.36 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: 5.989209606079385]