Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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.001446/0.001446, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.001739/0.001739, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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.579/1.579, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.843/2.843, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.086e-06/3.086e-06, allocations: 0 / 0.7863 GB, free: 11.75 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.641e-05/3.949e-05, allocations: 9.625 kB / 0.7863 GB, free: 11.74 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002261/0.002301, allocations: 0.6052 MB / 0.7869 GB, free: 11.15 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002043/0.004344, allocations: 1.133 MB / 0.788 GB, free: 10.01 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.574e-05/0.00441, allocations: 0 / 0.788 GB, free: 10.01 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.502e-05/0.004455, allocations: 8.625 kB / 0.7881 GB, free: 10 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.878e-05/0.004534, allocations: 0 / 0.7881 GB, free: 10 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005728/0.005106, allocations: 116.8 kB / 0.7882 GB, free: 9.887 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.005319, allocations: 97.22 kB / 0.7883 GB, free: 9.793 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.599e-05/0.005415, allocations: 7.984 kB / 0.7883 GB, free: 9.785 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.005545, allocations: 47.91 kB / 0.7883 GB, free: 9.738 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.005648, allocations: 27.95 kB / 0.7883 GB, free: 9.711 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.005675, allocations: 8.844 kB / 0.7883 GB, free: 9.703 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.501e-05/0.00575, allocations: 23.92 kB / 0.7884 GB, free: 9.68 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.255e-05/0.005773, allocations: 4.562 kB / 0.7884 GB, free: 9.676 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.557e-05/0.005838, allocations: 27.91 kB / 0.7884 GB, free: 9.648 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.006049, allocations: 105 kB / 0.7885 GB, free: 9.547 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.006051, allocations: 0 / 0.7885 GB, free: 9.547 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.252e-06/0.006052, allocations: 0 / 0.7885 GB, free: 9.547 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.006057, allocations: 1.625 kB / 0.7885 GB, free: 9.547 MB / 0.698 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.0005511/0.006608, allocations: 307.9 kB / 0.7888 GB, free: 9.207 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.006652, allocations: 8.031 kB / 0.7888 GB, free: 9.199 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.017e-05/0.006722, allocations: 8.938 kB / 0.7888 GB, free: 9.191 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.006852, allocations: 111 kB / 0.7889 GB, free: 9.059 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.00688, allocations: 4.375 kB / 0.7889 GB, free: 9.055 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.006909, allocations: 8.359 kB / 0.7889 GB, free: 9.047 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.00703, allocations: 38.27 kB / 0.789 GB, free: 9.004 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.00704, allocations: 0.875 kB / 0.789 GB, free: 9.004 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.007055, allocations: 5.266 kB / 0.789 GB, free: 9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.007061, allocations: 384 / 0.789 GB, free: 9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.33e-05/0.007125, allocations: 11.88 kB / 0.789 GB, free: 8.988 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000521/0.007646, allocations: 225.2 kB / 0.7892 GB, free: 8.738 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.014e-05/0.007736, allocations: 36.09 kB / 0.7892 GB, free: 8.695 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.813e-05/0.007764, allocations: 8.922 kB / 0.7892 GB, free: 8.684 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.007777, allocations: 0 / 0.7892 GB, free: 8.684 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002091/0.007986, allocations: 67.33 kB / 0.7893 GB, free: 8.605 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.007988, allocations: 0.7188 kB / 0.7893 GB, free: 8.605 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002623/0.00825, allocations: 77.61 kB / 0.7894 GB, free: 8.523 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.008306, allocations: 54.81 kB / 0.7894 GB, free: 8.461 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.008423, allocations: 113.8 kB / 0.7895 GB, free: 8.34 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.008456, allocations: 29.7 kB / 0.7896 GB, free: 8.305 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.672e-05/0.008533, allocations: 92.12 kB / 0.7897 GB, free: 8.211 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.008551, allocations: 3.953 kB / 0.7897 GB, free: 8.207 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.226e-05/0.008624, allocations: 29.7 kB / 0.7897 GB, free: 8.172 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.008799, allocations: 318.8 kB / 0.79 GB, free: 7.852 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.008917, allocations: 65.61 kB / 0.7901 GB, free: 7.781 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.00904, allocations: 76.27 kB / 0.7901 GB, free: 7.691 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.009186, allocations: 86.64 kB / 0.7902 GB, free: 7.594 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.009188, allocations: 0 / 0.7902 GB, free: 7.594 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003487/0.009537, allocations: 193 kB / 0.7904 GB, free: 7.387 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.111e-05/0.009588, allocations: 42.92 kB / 0.7904 GB, free: 7.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.009596, allocations: 4 kB / 0.7904 GB, free: 7.336 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.009617, allocations: 0 / 0.7904 GB, free: 7.336 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.967e-05/0.009677, allocations: 7.984 kB / 0.7904 GB, free: 7.328 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.009682, allocations: 0.5938 kB / 0.7904 GB, free: 7.328 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.009895, allocations: 29.25 kB / 0.7905 GB, free: 7.301 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/0.00992, allocations: 4 kB / 0.7905 GB, free: 7.297 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.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 0.0001113/0.01003, allocations: 119.1 kB / 0.7906 GB, free: 7.172 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.311e-05/0.01004, allocations: 0 / 0.7906 GB, free: 7.172 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.221e-05/0.01008, allocations: 19.92 kB / 0.7906 GB, free: 7.152 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.01008, allocations: 0.6562 kB / 0.7906 GB, free: 7.152 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.01008, allocations: 0 / 0.7906 GB, free: 7.152 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.01009, allocations: 1.406 kB / 0.7906 GB, free: 7.152 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.01021, allocations: 117.2 kB / 0.7907 GB, free: 7.008 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.01021, allocations: 0 / 0.7907 GB, free: 7.008 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.716e-05/0.01023, allocations: 0 / 0.7907 GB, free: 7.008 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.01023, allocations: 5.188 kB / 0.7907 GB, free: 7.004 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.01024, allocations: 3.938 kB / 0.7907 GB, free: 7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.01025, allocations: 7.875 kB / 0.7907 GB, free: 6.992 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01025, allocations: 0.5312 kB / 0.7907 GB, free: 6.992 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.01039, allocations: 85.64 kB / 0.7908 GB, free: 6.891 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.046e-05/0.0104, allocations: 4 kB / 0.7908 GB, free: 6.887 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.01042, allocations: 4.875 kB / 0.7908 GB, free: 6.883 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.683e-05/0.01043, allocations: 3.938 kB / 0.7908 GB, free: 6.879 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.01047, allocations: 0.8125 kB / 0.7908 GB, free: 6.879 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.01048, allocations: 7.984 kB / 0.7908 GB, free: 6.871 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.237e-05/0.01054, allocations: 83.81 kB / 0.7909 GB, free: 6.789 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.01054, allocations: 0 / 0.7909 GB, free: 6.789 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002238/0.01076, allocations: 21.33 kB / 0.7909 GB, free: 6.77 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,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.0001739/0.01094, allocations: 99.23 kB / 0.791 GB, free: 6.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002841/0.01122, allocations: 146.2 kB / 0.7912 GB, free: 6.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01122, allocations: 0 / 0.7912 GB, free: 6.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.998e-05/0.01126, allocations: 16.77 kB / 0.7912 GB, free: 6.484 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.01148, allocations: 4.594 kB / 0.7912 GB, free: 6.48 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003894/0.01187, allocations: 137.4 kB / 0.7913 GB, free: 6.32 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.694e-05/0.01196, allocations: 68.14 kB / 0.7914 GB, free: 6.234 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.641e-05/0.01199, allocations: 4 kB / 0.7914 GB, free: 6.23 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.223e-05/0.01201, allocations: 8.5 kB / 0.7914 GB, free: 6.223 MB / 0.698 GB Notification: Performance of SimCode: time 6.41e-07/0.01201, allocations: 1.219 kB / 0.7914 GB, free: 6.223 MB / 0.698 GB Notification: Performance of Templates: time 0.004659/0.01667, allocations: 1.192 MB / 0.7926 GB, free: 5.09 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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: 7.970033930032514]