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.001429/0.001429, allocations: 89.06 kB / 19.65 MB, free: 272 kB / 13.93 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.001618/0.001618, allocations: 173 kB / 23.02 MB, free: 1.539 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 0.9402/0.9402, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.145/2.145, allocations: 429.5 MB / 0.6733 GB, free: 4 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.382e-06/1.382e-06, allocations: 0 / 0.8781 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.487e-05/1.625e-05, allocations: 6.875 kB / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001031/0.001047, allocations: 0.6209 MB / 0.8788 GB, free: 5.688 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009848/0.002032, allocations: 1.161 MB / 0.8799 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.592e-05/0.002058, allocations: 3.938 kB / 0.8799 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.999e-05/0.002078, allocations: 0.7656 kB / 0.8799 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.882e-05/0.002126, allocations: 9.891 kB / 0.8799 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.002415, allocations: 121.2 kB / 0.88 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.002549, allocations: 93.47 kB / 0.8801 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 6.345e-05/0.002612, allocations: 4 kB / 0.8801 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.89e-05/0.002681, allocations: 52.95 kB / 0.8802 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.581e-05/0.002747, allocations: 31.89 kB / 0.8802 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.002763, allocations: 9.062 kB / 0.8802 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.182e-05/0.002805, allocations: 16 kB / 0.8802 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.597e-05/0.002821, allocations: 7.984 kB / 0.8802 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.387e-05/0.002855, allocations: 25.09 kB / 0.8803 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.002966, allocations: 79.77 kB / 0.8803 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.002967, allocations: 0 / 0.8803 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.01e-07/0.002968, allocations: 1.062 kB / 0.8803 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.645e-06/0.00297, allocations: 0 / 0.8803 GB, free: 4.078 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.0002744/0.003245, allocations: 402.3 kB / 0.8807 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.688e-05/0.003272, allocations: 8.688 kB / 0.8807 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.003308, allocations: 12.89 kB / 0.8807 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.71e-05/0.003365, allocations: 116 kB / 0.8808 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.003379, allocations: 4.375 kB / 0.8808 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.003391, allocations: 4.375 kB / 0.8809 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.35e-05/0.003454, allocations: 46.95 kB / 0.8809 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.549e-06/0.003459, allocations: 192 / 0.8809 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.003467, allocations: 8.359 kB / 0.8809 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.003471, allocations: 384 / 0.8809 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.207e-05/0.003493, allocations: 11.94 kB / 0.8809 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002326/0.003726, allocations: 279.7 kB / 0.8812 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.245e-05/0.003768, allocations: 39.92 kB / 0.8812 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.383e-05/0.003782, allocations: 7.688 kB / 0.8812 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.371e-06/0.003788, allocations: 4.656 kB / 0.8812 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.048e-05/0.003848, allocations: 62.42 kB / 0.8813 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.003849, allocations: 0 / 0.8813 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001229/0.003972, allocations: 69.75 kB / 0.8814 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.003996, allocations: 51.41 kB / 0.8814 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.155e-05/0.004058, allocations: 174.5 kB / 0.8816 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.004072, allocations: 31.08 kB / 0.8816 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.048e-05/0.004113, allocations: 134.8 kB / 0.8817 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.797e-06/0.004122, allocations: 15.94 kB / 0.8817 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-05/0.004161, allocations: 35.36 kB / 0.8818 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.751e-05/0.004259, allocations: 493.4 kB / 0.8823 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.37e-05/0.004312, allocations: 61.67 kB / 0.8823 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.749e-05/0.00437, allocations: 84.73 kB / 0.8824 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.877e-05/0.004439, allocations: 86.42 kB / 0.8825 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.00444, allocations: 0 / 0.8825 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001522/0.004592, allocations: 181.2 kB / 0.8826 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.004613, allocations: 41.64 kB / 0.8827 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.004617, allocations: 7.984 kB / 0.8827 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.288e-06/0.004626, allocations: 3.984 kB / 0.8827 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.065e-05/0.004657, allocations: 4 kB / 0.8827 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.00466, allocations: 0 / 0.8827 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.709e-05/0.004748, allocations: 19.94 kB / 0.8827 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.004757, allocations: 4 kB / 0.8827 GB, free: 1.355 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 5.956e-05/0.004817, allocations: 172.5 kB / 0.8829 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.062e-06/0.004823, allocations: 4 kB / 0.8829 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.644e-05/0.004839, allocations: 11.94 kB / 0.8829 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.00484, allocations: 0 / 0.8829 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.004842, allocations: 0 / 0.8829 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.004844, allocations: 0 / 0.8829 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.812e-05/0.004903, allocations: 120.6 kB / 0.883 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.004903, allocations: 0 / 0.883 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.991e-06/0.004909, allocations: 0 / 0.883 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.00491, allocations: 0 / 0.883 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.004916, allocations: 4 kB / 0.883 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.004918, allocations: 3.938 kB / 0.883 GB, free: 1 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.004919, allocations: 7.984 kB / 0.883 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.126e-05/0.00499, allocations: 96.33 kB / 0.8831 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-06/0.004996, allocations: 4 kB / 0.8831 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.965e-06/0.005004, allocations: 0 / 0.8831 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.634e-06/0.005012, allocations: 3.938 kB / 0.8831 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.919e-05/0.005031, allocations: 7.984 kB / 0.8831 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.005034, allocations: 0 / 0.8831 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.191e-05/0.005066, allocations: 127.2 kB / 0.8833 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005066, allocations: 3.938 kB / 0.8833 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001278/0.005194, allocations: 19.98 kB / 0.8833 GB, free: 0.7109 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 7.838e-05/0.005272, allocations: 103.2 kB / 0.8834 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001547/0.005427, allocations: 152.7 kB / 0.8835 GB, free: 436 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.005428, allocations: 0 / 0.8835 GB, free: 436 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.996e-05/0.005448, allocations: 15.69 kB / 0.8835 GB, free: 416 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001198/0.005568, allocations: 7.984 kB / 0.8836 GB, free: 408 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001947/0.005763, allocations: 134.2 kB / 0.8837 GB, free: 244 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.699e-05/0.00579, allocations: 55.34 kB / 0.8837 GB, free: 168 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.298e-05/0.005803, allocations: 4.125 kB / 0.8837 GB, free: 164 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.908e-05/0.005822, allocations: 16.5 kB / 0.8838 GB, free: 148 kB / 0.8386 GB Notification: Performance of SimCode: time 4.31e-07/0.005822, allocations: 0 / 0.8838 GB, free: 148 kB / 0.8386 GB Notification: Performance of Templates: time 0.002415/0.008238, allocations: 1.31 MB / 0.885 GB, free: 14.88 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.207639007363468]