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.002289/0.002289, allocations: 79.75 kB / 20.23 MB, free: 4.043 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.002599/0.002599, allocations: 157.4 kB / 23.55 MB, free: 0.7305 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.587/1.587, allocations: 177.1 MB / 203.9 MB, free: 5.594 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.879/2.879, allocations: 359 MB / 0.6048 GB, free: 10.94 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 2.635e-06/2.635e-06, allocations: 0.7656 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.182e-05/3.446e-05, allocations: 7.094 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.00284/0.002874, allocations: 0.6176 MB / 0.787 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003047/0.005921, allocations: 1.136 MB / 0.7881 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.584e-05/0.005977, allocations: 0 / 0.7881 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.138e-05/0.006008, allocations: 4.812 kB / 0.7881 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.785e-05/0.006106, allocations: 7.922 kB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006601/0.006766, allocations: 120.7 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002575/0.007024, allocations: 88.52 kB / 0.7883 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.007132, allocations: 4 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.007314, allocations: 62.48 kB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.007444, allocations: 23.95 kB / 0.7884 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.252e-05/0.007486, allocations: 8 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.468e-05/0.007581, allocations: 19.98 kB / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.843e-05/0.00761, allocations: 7.984 kB / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.381e-05/0.007693, allocations: 23.92 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.007975, allocations: 95.83 kB / 0.7885 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.007978, allocations: 1.562 kB / 0.7885 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.052e-06/0.00798, allocations: 0 / 0.7885 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.007984, allocations: 0 / 0.7885 GB, free: 10.61 MB / 0.7448 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.000763/0.008747, allocations: 409.9 kB / 0.7889 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.008802, allocations: 12.62 kB / 0.7889 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.732e-05/0.00889, allocations: 8.938 kB / 0.7889 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.00908, allocations: 117.3 kB / 0.789 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.009109, allocations: 384 / 0.789 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.009144, allocations: 13.22 kB / 0.7891 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.009297, allocations: 38.25 kB / 0.7891 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.009311, allocations: 2.062 kB / 0.7891 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.009323, allocations: 384 / 0.7891 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.009328, allocations: 384 / 0.7891 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.524e-05/0.009414, allocations: 19.92 kB / 0.7891 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006248/0.01004, allocations: 275.8 kB / 0.7894 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.01016, allocations: 40.53 kB / 0.7894 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.243e-05/0.01022, allocations: 15.73 kB / 0.7894 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.01023, allocations: 0 / 0.7894 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.01042, allocations: 70.97 kB / 0.7895 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.01042, allocations: 0 / 0.7895 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0003624/0.01079, allocations: 81.5 kB / 0.7896 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.816e-05/0.01086, allocations: 55.41 kB / 0.7896 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.01109, allocations: 173.9 kB / 0.7898 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.984e-05/0.01114, allocations: 32.27 kB / 0.7898 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.01129, allocations: 134.9 kB / 0.79 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.01132, allocations: 11.88 kB / 0.79 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.01146, allocations: 43.36 kB / 0.79 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003933/0.01186, allocations: 492.1 kB / 0.7905 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.01207, allocations: 69.69 kB / 0.7905 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.01232, allocations: 97.05 kB / 0.7906 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/0.01258, allocations: 101.9 kB / 0.7907 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.01258, allocations: 0 / 0.7907 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000622/0.0132, allocations: 203.1 kB / 0.7909 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.1e-05/0.01327, allocations: 37.62 kB / 0.791 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.01328, allocations: 4.078 kB / 0.791 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.0133, allocations: 0 / 0.791 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-05/0.01337, allocations: 4.594 kB / 0.791 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.01338, allocations: 3.984 kB / 0.791 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002815/0.01366, allocations: 20.59 kB / 0.791 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/0.0137, allocations: 8.75 kB / 0.791 GB, free: 7.805 MB / 0.7448 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.0002042/0.0139, allocations: 165.6 kB / 0.7912 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.852e-05/0.01394, allocations: 11.95 kB / 0.7912 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.85e-05/0.01398, allocations: 11.92 kB / 0.7912 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.01399, allocations: 5.547 kB / 0.7912 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.01399, allocations: 0 / 0.7912 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.014, allocations: 3.984 kB / 0.7912 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.01421, allocations: 120.6 kB / 0.7913 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.01421, allocations: 1 kB / 0.7913 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.363e-05/0.01425, allocations: 4 kB / 0.7913 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.01425, allocations: 0.6875 kB / 0.7913 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.01427, allocations: 4 kB / 0.7913 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/0.01428, allocations: 9.031 kB / 0.7913 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.01428, allocations: 0 / 0.7913 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.01454, allocations: 100.4 kB / 0.7914 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.896e-05/0.01456, allocations: 8.797 kB / 0.7914 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.01458, allocations: 0 / 0.7914 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.902e-05/0.01461, allocations: 5.469 kB / 0.7914 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.01465, allocations: 4 kB / 0.7914 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.01466, allocations: 0 / 0.7914 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001337/0.01479, allocations: 135.2 kB / 0.7916 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.7e-07/0.01479, allocations: 1 kB / 0.7916 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003994/0.01519, allocations: 12 kB / 0.7916 GB, free: 7.152 MB / 0.7448 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.0002401/0.01543, allocations: 109.3 kB / 0.7917 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004784/0.01591, allocations: 168.7 kB / 0.7918 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.01591, allocations: 4 kB / 0.7918 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.016e-05/0.01599, allocations: 23.67 kB / 0.7919 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.01634, allocations: 15.61 kB / 0.7919 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004705/0.01681, allocations: 142.1 kB / 0.792 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.615e-05/0.01691, allocations: 63.34 kB / 0.7921 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.016e-05/0.01694, allocations: 4.5 kB / 0.7921 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/0.01697, allocations: 9.031 kB / 0.7921 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of SimCode: time 7.11e-07/0.01697, allocations: 4 kB / 0.7921 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of Templates: time 0.007213/0.02418, allocations: 1.191 MB / 0.7933 GB, free: 5.398 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 240] 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: 8.09894145000726]