Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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.00153/0.00153, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001927/0.001927, allocations: 190.9 kB / 22.1 MB, free: 4.281 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.564/1.564, allocations: 225.6 MB / 250.8 MB, free: 2.918 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.065/3.065, allocations: 495.8 MB / 0.7831 GB, free: 12.28 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 79.86 kB / 1.137 GB, free: 12.22 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.281/1.283, allocations: 173.6 MB / 1.307 GB, free: 33.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.00165/1.284, allocations: 0.6118 MB / 1.307 GB, free: 33.38 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001091/1.286, allocations: 1.124 MB / 1.308 GB, free: 32.55 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.358e-05/1.286, allocations: 2.531 kB / 1.308 GB, free: 32.55 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.519e-05/1.286, allocations: 3.938 kB / 1.308 GB, free: 32.55 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.957e-05/1.286, allocations: 15.16 kB / 1.308 GB, free: 32.54 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004551/1.286, allocations: 122.7 kB / 1.309 GB, free: 32.48 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001353/1.286, allocations: 89.44 kB / 1.309 GB, free: 32.44 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.264e-05/1.286, allocations: 6.109 kB / 1.309 GB, free: 32.44 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.211e-05/1.286, allocations: 37.77 kB / 1.309 GB, free: 32.42 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.101e-05/1.287, allocations: 30.56 kB / 1.309 GB, free: 32.41 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/1.287, allocations: 12.78 kB / 1.309 GB, free: 32.4 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.374e-05/1.287, allocations: 23.44 kB / 1.309 GB, free: 32.4 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.999e-05/1.287, allocations: 0 / 1.309 GB, free: 32.4 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.451e-05/1.287, allocations: 39.41 kB / 1.309 GB, free: 32.38 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001483/1.287, allocations: 84.05 kB / 1.309 GB, free: 32.35 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/1.287, allocations: 3.938 kB / 1.309 GB, free: 32.34 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.663e-06/1.287, allocations: 3.062 kB / 1.309 GB, free: 32.34 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.13e-06/1.287, allocations: 0 / 1.309 GB, free: 32.34 MB / 1.061 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.0004284/1.287, allocations: 309.2 kB / 1.309 GB, free: 32.04 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/1.287, allocations: 8.75 kB / 1.309 GB, free: 32.04 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.488e-05/1.287, allocations: 3.969 kB / 1.309 GB, free: 32.04 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.035e-05/1.287, allocations: 112.9 kB / 1.309 GB, free: 31.91 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/1.287, allocations: 7.219 kB / 1.309 GB, free: 31.9 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/1.287, allocations: 10.03 kB / 1.309 GB, free: 31.9 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.9e-05/1.288, allocations: 39.5 kB / 1.309 GB, free: 31.86 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/1.288, allocations: 192 / 1.309 GB, free: 31.86 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/1.288, allocations: 3.938 kB / 1.309 GB, free: 31.86 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/1.288, allocations: 0 / 1.309 GB, free: 31.86 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.86e-05/1.288, allocations: 9.719 kB / 1.309 GB, free: 31.86 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003648/1.288, allocations: 263 kB / 1.31 GB, free: 31.61 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.858e-05/1.288, allocations: 40.02 kB / 1.31 GB, free: 31.57 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.9e-05/1.288, allocations: 11.73 kB / 1.31 GB, free: 31.55 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/1.288, allocations: 0 / 1.31 GB, free: 31.55 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001148/1.288, allocations: 62.36 kB / 1.31 GB, free: 31.5 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/1.288, allocations: 0 / 1.31 GB, free: 31.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0001898/1.288, allocations: 69.8 kB / 1.31 GB, free: 31.46 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/1.288, allocations: 58.38 kB / 1.31 GB, free: 31.39 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.926e-05/1.288, allocations: 110.3 kB / 1.31 GB, free: 31.29 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/1.289, allocations: 25.7 kB / 1.31 GB, free: 31.25 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.48e-05/1.289, allocations: 83.39 kB / 1.31 GB, free: 31.17 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/1.289, allocations: 18.25 kB / 1.31 GB, free: 31.16 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.471e-05/1.289, allocations: 28.72 kB / 1.31 GB, free: 31.14 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.758e-05/1.289, allocations: 314.1 kB / 1.31 GB, free: 30.83 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.373e-05/1.289, allocations: 32.38 kB / 1.31 GB, free: 30.82 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.525e-05/1.289, allocations: 62.27 kB / 1.31 GB, free: 30.77 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/1.289, allocations: 82.66 kB / 1.311 GB, free: 30.7 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/1.289, allocations: 3.938 kB / 1.311 GB, free: 30.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002294/1.289, allocations: 150.8 kB / 1.311 GB, free: 30.6 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/1.289, allocations: 35.58 kB / 1.311 GB, free: 30.57 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/1.289, allocations: 64 / 1.311 GB, free: 30.57 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/1.289, allocations: 6.5 kB / 1.311 GB, free: 30.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.781e-05/1.289, allocations: 9.891 kB / 1.311 GB, free: 30.56 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/1.289, allocations: 7.875 kB / 1.311 GB, free: 30.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/1.289, allocations: 27.94 kB / 1.311 GB, free: 30.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/1.289, allocations: 6.312 kB / 1.311 GB, free: 30.55 MB / 1.061 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 6.302e-05/1.29, allocations: 123.7 kB / 1.311 GB, free: 30.43 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.908e-06/1.29, allocations: 3 kB / 1.311 GB, free: 30.43 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.23e-05/1.29, allocations: 8 kB / 1.311 GB, free: 30.41 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/1.29, allocations: 3.938 kB / 1.311 GB, free: 30.41 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/1.29, allocations: 0 / 1.311 GB, free: 30.41 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/1.29, allocations: 0 / 1.311 GB, free: 30.41 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.095e-05/1.29, allocations: 144 kB / 1.311 GB, free: 30.24 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/1.29, allocations: 0 / 1.311 GB, free: 30.24 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.526e-05/1.29, allocations: 6.125 kB / 1.311 GB, free: 30.24 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/1.29, allocations: 0 / 1.311 GB, free: 30.24 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/1.29, allocations: 0 / 1.311 GB, free: 30.24 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/1.29, allocations: 2.562 kB / 1.311 GB, free: 30.24 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.29, allocations: 0 / 1.311 GB, free: 30.24 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.475e-05/1.29, allocations: 92.31 kB / 1.311 GB, free: 30.16 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.455e-06/1.29, allocations: 6.859 kB / 1.311 GB, free: 30.15 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/1.29, allocations: 0 / 1.311 GB, free: 30.15 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.503e-05/1.29, allocations: 8 kB / 1.311 GB, free: 30.14 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/1.29, allocations: 6.594 kB / 1.311 GB, free: 30.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/1.29, allocations: 0 / 1.311 GB, free: 30.14 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.62e-05/1.29, allocations: 85.28 kB / 1.311 GB, free: 30.07 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.29, allocations: 4 kB / 1.311 GB, free: 30.06 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002031/1.29, allocations: 15.97 kB / 1.311 GB, free: 30.06 MB / 1.061 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.0001071/1.29, allocations: 103 kB / 1.311 GB, free: 29.98 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001953/1.29, allocations: 111 kB / 1.311 GB, free: 29.89 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.29, allocations: 0 / 1.311 GB, free: 29.89 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.981e-05/1.29, allocations: 16.69 kB / 1.311 GB, free: 29.89 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/1.291, allocations: 11.06 kB / 1.312 GB, free: 29.88 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002602/1.291, allocations: 135.8 kB / 1.312 GB, free: 29.76 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/1.291, allocations: 0.6779 MB / 1.312 GB, free: 29.06 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.039e-05/1.291, allocations: 6.625 kB / 1.312 GB, free: 29.06 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.747e-05/1.291, allocations: 14.05 kB / 1.312 GB, free: 29.05 MB / 1.061 GB Notification: Performance of SimCode: time 3.8e-07/1.291, allocations: 0 / 1.312 GB, free: 29.05 MB / 1.061 GB Notification: Performance of Templates: time 0.003468/1.294, allocations: 1.101 MB / 1.313 GB, free: 28.92 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.404671476222575]