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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001734/0.001733, allocations: 110.5 kB / 17.07 MB, free: 6.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001863/0.001864, allocations: 190.2 kB / 20.02 MB, free: 3.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.018/3.018, allocations: 489.2 MB / 0.7687 GB, free: 3.766 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001944/0.001944, allocations: 67.89 kB / 1.103 GB, free: 0.832 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029/1.031, allocations: 163.8 MB / 1.263 GB, free: 8 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001671/1.033, allocations: 0.6105 MB / 1.263 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001302/1.034, allocations: 1.115 MB / 1.264 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.95e-05/1.034, allocations: 0.75 kB / 1.264 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.944e-05/1.034, allocations: 3.938 kB / 1.264 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.583e-05/1.035, allocations: 5.438 kB / 1.264 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004612/1.035, allocations: 121.1 kB / 1.264 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001718/1.035, allocations: 98.83 kB / 1.264 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.868e-05/1.035, allocations: 8.766 kB / 1.264 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.903e-05/1.035, allocations: 42.17 kB / 1.264 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.898e-05/1.035, allocations: 28.25 kB / 1.265 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/1.035, allocations: 7.5 kB / 1.265 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.91e-05/1.036, allocations: 22.12 kB / 1.265 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.843e-05/1.036, allocations: 10.94 kB / 1.265 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.905e-05/1.036, allocations: 31 kB / 1.265 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001718/1.036, allocations: 83.48 kB / 1.265 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/1.036, allocations: 0.75 kB / 1.265 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.194e-06/1.036, allocations: 0 / 1.265 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.04e-05/1.036, allocations: 3.938 kB / 1.265 GB, free: 6.625 MB / 0.9981 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.0004115/1.036, allocations: 384.8 kB / 1.265 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/1.036, allocations: 9.219 kB / 1.265 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/1.036, allocations: 5.594 kB / 1.265 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.298e-05/1.036, allocations: 167.9 kB / 1.265 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/1.036, allocations: 3.391 kB / 1.265 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/1.037, allocations: 4.969 kB / 1.265 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.721e-05/1.037, allocations: 39.89 kB / 1.265 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/1.037, allocations: 0.7969 kB / 1.265 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/1.037, allocations: 4.75 kB / 1.265 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/1.037, allocations: 0 / 1.265 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.75e-05/1.037, allocations: 15.19 kB / 1.265 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000343/1.037, allocations: 290.5 kB / 1.266 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.714e-05/1.037, allocations: 30.5 kB / 1.266 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.329e-05/1.037, allocations: 13.34 kB / 1.266 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/1.037, allocations: 1.516 kB / 1.266 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/1.037, allocations: 61.81 kB / 1.266 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 2.725e-06/1.037, allocations: 0.75 kB / 1.266 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0001981/1.038, allocations: 81.11 kB / 1.266 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/1.038, allocations: 52.78 kB / 1.266 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.595e-05/1.038, allocations: 114.6 kB / 1.266 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/1.038, allocations: 28.31 kB / 1.266 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.845e-05/1.038, allocations: 87.44 kB / 1.266 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/1.038, allocations: 10.36 kB / 1.266 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.89e-05/1.038, allocations: 34.39 kB / 1.266 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.785e-05/1.038, allocations: 318.2 kB / 1.266 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.893e-05/1.038, allocations: 28.2 kB / 1.266 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.704e-05/1.038, allocations: 50.61 kB / 1.266 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/1.038, allocations: 85.31 kB / 1.267 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.038, allocations: 8.781 kB / 1.267 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002611/1.038, allocations: 149.3 kB / 1.267 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/1.038, allocations: 35.08 kB / 1.267 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/1.038, allocations: 1.094 kB / 1.267 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/1.038, allocations: 1 kB / 1.267 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.144e-05/1.039, allocations: 11.86 kB / 1.267 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/1.039, allocations: 4.906 kB / 1.267 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/1.039, allocations: 32.75 kB / 1.267 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/1.039, allocations: 6.5 kB / 1.267 GB, free: 4.633 MB / 0.9981 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.679e-05/1.039, allocations: 123.2 kB / 1.267 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/1.039, allocations: 2.562 kB / 1.267 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.374e-05/1.039, allocations: 5.531 kB / 1.267 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/1.039, allocations: 0.9688 kB / 1.267 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.039, allocations: 0 / 1.267 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/1.039, allocations: 1.875 kB / 1.267 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.907e-05/1.039, allocations: 170.8 kB / 1.267 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.039, allocations: 4.516 kB / 1.267 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.77e-05/1.039, allocations: 7.266 kB / 1.267 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/1.039, allocations: 0 / 1.267 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/1.039, allocations: 1.672 kB / 1.267 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/1.039, allocations: 1.188 kB / 1.267 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.039, allocations: 0 / 1.267 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/1.039, allocations: 87.7 kB / 1.267 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.199e-05/1.039, allocations: 83.2 kB / 1.267 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/1.039, allocations: 5.359 kB / 1.267 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.47e-05/1.039, allocations: 4.609 kB / 1.267 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/1.039, allocations: 7.734 kB / 1.267 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/1.039, allocations: 6 kB / 1.267 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.522e-05/1.039, allocations: 82.8 kB / 1.267 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.039, allocations: 0 / 1.267 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002147/1.04, allocations: 19.97 kB / 1.267 GB, free: 4.02 MB / 0.9981 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.000131/1.04, allocations: 101.8 kB / 1.267 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002216/1.04, allocations: 130.6 kB / 1.268 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/1.04, allocations: 0.875 kB / 1.268 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.148e-05/1.04, allocations: 15.3 kB / 1.268 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/1.04, allocations: 14.33 kB / 1.268 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002683/1.04, allocations: 159.5 kB / 1.268 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/1.041, allocations: 0.6813 MB / 1.268 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.639e-05/1.041, allocations: 9.719 kB / 1.268 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/1.041, allocations: 4 kB / 1.268 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of Templates: time 0.003094/1.044, allocations: 0.9401 MB / 1.269 GB, free: 2.883 MB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.418578662211075]