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.0008404/0.0008404, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008689/0.0008689, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9015/0.9015, allocations: 177.1 MB / 203.5 MB, free: 5.75 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 1.787/1.787, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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 2.194e-06/2.194e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.724e-05/2.944e-05, allocations: 5.234 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001218/0.001247, allocations: 0.6024 MB / 1.001 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.002426, allocations: 1.136 MB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.327e-05/0.00247, allocations: 0 / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.96e-05/0.002499, allocations: 0 / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.353e-05/0.002563, allocations: 7.938 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003845/0.002947, allocations: 124.4 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000148/0.003095, allocations: 95.83 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.608e-05/0.003181, allocations: 3.984 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.137e-05/0.003263, allocations: 51.91 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.273e-05/0.003346, allocations: 23.95 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.003366, allocations: 8 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.639e-05/0.003423, allocations: 27.92 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.896e-05/0.003442, allocations: 3.938 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.229e-05/0.003484, allocations: 31.95 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.003626, allocations: 91.83 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.003628, allocations: 0 / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.31e-07/0.003629, allocations: 4 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.798e-06/0.003633, allocations: 4 kB / 1.003 GB, free: 10.81 MB / 0.9636 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.0005874/0.00422, allocations: 307.9 kB / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.004263, allocations: 9.344 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.597e-05/0.004309, allocations: 4.938 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.095e-05/0.00439, allocations: 113.7 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.004411, allocations: 4.375 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.004426, allocations: 8.375 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.519e-05/0.004511, allocations: 42.19 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.004521, allocations: 192 / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.004532, allocations: 4.359 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.004537, allocations: 4.375 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.87e-05/0.004576, allocations: 11.94 kB / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003122/0.004888, allocations: 220.6 kB / 1.004 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.407e-05/0.004952, allocations: 34.48 kB / 1.004 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.918e-05/0.004971, allocations: 12.92 kB / 1.004 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.004983, allocations: 0 / 1.004 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001163/0.0051, allocations: 67.39 kB / 1.004 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/0.005101, allocations: 0 / 1.004 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0001794/0.00528, allocations: 77.52 kB / 1.004 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.005315, allocations: 55.41 kB / 1.004 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.356e-05/0.005378, allocations: 113.8 kB / 1.004 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.005395, allocations: 29.7 kB / 1.004 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/0.005439, allocations: 92.12 kB / 1.004 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 9.227e-06/0.005449, allocations: 3.953 kB / 1.004 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.005493, allocations: 29.7 kB / 1.004 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.104e-05/0.005574, allocations: 322.8 kB / 1.005 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.454e-05/0.005648, allocations: 61.67 kB / 1.005 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.407e-05/0.005712, allocations: 76.58 kB / 1.005 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.904e-05/0.005791, allocations: 88.2 kB / 1.005 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.005794, allocations: 4 kB / 1.005 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001826/0.005976, allocations: 184.9 kB / 1.005 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.006005, allocations: 41.64 kB / 1.005 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.006009, allocations: 0 / 1.005 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.006021, allocations: 0 / 1.005 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.742e-05/0.006069, allocations: 4 kB / 1.005 GB, free: 8.586 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.006075, allocations: 8.047 kB / 1.005 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.006198, allocations: 27.91 kB / 1.005 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.00621, allocations: 8.062 kB / 1.005 GB, free: 8.543 MB / 0.9636 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 6.38e-05/0.006274, allocations: 117.8 kB / 1.005 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.242e-06/0.00628, allocations: 7.891 kB / 1.005 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.006304, allocations: 15.92 kB / 1.005 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.006306, allocations: 0 / 1.005 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.00631, allocations: 0 / 1.005 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.006313, allocations: 3.938 kB / 1.005 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.339e-05/0.006376, allocations: 109.3 kB / 1.005 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.006377, allocations: 0 / 1.005 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.028e-05/0.006388, allocations: 0 / 1.005 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.006389, allocations: 4 kB / 1.005 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.006396, allocations: 8 kB / 1.005 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.006397, allocations: 3.938 kB / 1.005 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.006399, allocations: 4.062 kB / 1.005 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.1e-05/0.00648, allocations: 77.12 kB / 1.005 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.166e-06/0.006488, allocations: 11.94 kB / 1.005 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.148e-06/0.006497, allocations: 0 / 1.005 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.042e-05/0.006508, allocations: 3.938 kB / 1.005 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.195e-05/0.00653, allocations: 4 kB / 1.005 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-06/0.006533, allocations: 0 / 1.005 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.046e-05/0.006564, allocations: 87.27 kB / 1.005 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.1e-08/0.006564, allocations: 4 kB / 1.005 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001385/0.006702, allocations: 19.94 kB / 1.005 GB, free: 8.004 MB / 0.9636 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.0001257/0.006828, allocations: 107.2 kB / 1.006 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001658/0.006994, allocations: 133.1 kB / 1.006 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.006996, allocations: 0 / 1.006 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.685e-05/0.007023, allocations: 24.23 kB / 1.006 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.007175, allocations: 11.98 kB / 1.006 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002325/0.007408, allocations: 158.7 kB / 1.006 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.871e-05/0.007446, allocations: 63.34 kB / 1.006 GB, free: 7.438 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.904e-05/0.007465, allocations: 12.59 kB / 1.006 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of SimCode: time 5.81e-07/0.007466, allocations: 0 / 1.006 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of Templates: time 0.001876/0.009342, allocations: 0.9391 MB / 1.007 GB, free: 6.492 MB / 0.9636 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",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.431152190081775]