Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.00174/0.00174, allocations: 111.2 kB / 17.61 MB, free: 4.703 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.002104/0.002104, allocations: 186 kB / 20.78 MB, free: 1.547 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.567/1.567, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.757/2.757, allocations: 443.5 MB / 0.7304 GB, free: 14.06 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 63.89 kB / 1.059 GB, free: 452 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4242/0.4262, allocations: 160.7 MB / 1.216 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002365/0.4286, allocations: 0.6071 MB / 1.217 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001874/0.4304, allocations: 1.121 MB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.852e-05/0.4305, allocations: 4 kB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.35e-05/0.4305, allocations: 0 / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.73e-05/0.4306, allocations: 7.922 kB / 1.218 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005676/0.4312, allocations: 119.7 kB / 1.218 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.4314, allocations: 91.89 kB / 1.218 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.4315, allocations: 0 / 1.218 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.275e-05/0.4316, allocations: 55.77 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.4317, allocations: 31.89 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.79e-05/0.4317, allocations: 8 kB / 1.218 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.193e-05/0.4318, allocations: 19.98 kB / 1.218 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.119e-05/0.4318, allocations: 4 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.886e-05/0.4319, allocations: 31.91 kB / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.4321, allocations: 83.72 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.4321, allocations: 0 / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4321, allocations: 0 / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.4321, allocations: 4 kB / 1.218 GB, free: 13.21 MB / 0.9669 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.0006221/0.4327, allocations: 381 kB / 1.219 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.4328, allocations: 12.03 kB / 1.219 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.07e-05/0.4328, allocations: 8.922 kB / 1.219 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.433, allocations: 164.3 kB / 1.219 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.423e-05/0.433, allocations: 8.375 kB / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.4331, allocations: 8.375 kB / 1.219 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.4332, allocations: 38.19 kB / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.4332, allocations: 8.188 kB / 1.219 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.4332, allocations: 3.938 kB / 1.219 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.4332, allocations: 0 / 1.219 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.153e-05/0.4333, allocations: 15.97 kB / 1.219 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004992/0.4338, allocations: 292.8 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.862e-05/0.4338, allocations: 30.45 kB / 1.219 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.313e-05/0.4339, allocations: 16.91 kB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.4339, allocations: 4 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000212/0.4341, allocations: 59.39 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.4341, allocations: 0 / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002628/0.4344, allocations: 65.69 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.4344, allocations: 55.34 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.4346, allocations: 117.8 kB / 1.219 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/0.4346, allocations: 29.7 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.638e-05/0.4347, allocations: 92.14 kB / 1.22 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.4347, allocations: 7.938 kB / 1.22 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-05/0.4348, allocations: 29.7 kB / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.4349, allocations: 314.8 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.259e-05/0.435, allocations: 27.98 kB / 1.22 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.512e-05/0.4351, allocations: 54.55 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.4353, allocations: 88.2 kB / 1.22 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.4353, allocations: 11.92 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000283/0.4355, allocations: 147.2 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.3e-05/0.4356, allocations: 41.64 kB / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.4356, allocations: 0 / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.4356, allocations: 4 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.337e-05/0.4357, allocations: 0 / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/0.4357, allocations: 4 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.4359, allocations: 32.02 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.4359, allocations: 4 kB / 1.22 GB, free: 10.8 MB / 0.9669 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.0001209/0.436, allocations: 117.8 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.4361, allocations: 4 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.329e-05/0.4361, allocations: 3.906 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.4361, allocations: 0 / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.4361, allocations: 3.984 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4361, allocations: 4 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.4363, allocations: 169.7 kB / 1.221 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.4363, allocations: 3.938 kB / 1.221 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.931e-05/0.4363, allocations: 7.984 kB / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.4363, allocations: 3.938 kB / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.4363, allocations: 0 / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4363, allocations: 0 / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4363, allocations: 0 / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.4365, allocations: 85.02 kB / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.585e-05/0.4365, allocations: 89.05 kB / 1.221 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.4365, allocations: 7.984 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.294e-05/0.4366, allocations: 0 / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.4366, allocations: 4 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.4366, allocations: 0 / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.525e-05/0.4367, allocations: 91.27 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4367, allocations: 0 / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002054/0.4369, allocations: 16 kB / 1.221 GB, free: 10.1 MB / 0.9669 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.000193/0.4371, allocations: 107.2 kB / 1.221 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002894/0.4373, allocations: 107.7 kB / 1.221 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4373, allocations: 0 / 1.221 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.967e-05/0.4374, allocations: 19.92 kB / 1.221 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.4376, allocations: 11.94 kB / 1.221 GB, free: 9.84 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003959/0.438, allocations: 137.8 kB / 1.221 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/0.4385, allocations: 0.6808 MB / 1.222 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.536e-05/0.4385, allocations: 7.984 kB / 1.222 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.951e-05/0.4385, allocations: 7.438 kB / 1.222 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of SimCode: time 4.81e-07/0.4385, allocations: 3.938 kB / 1.222 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of Templates: time 0.00444/0.443, allocations: 1.089 MB / 1.223 GB, free: 7.879 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.925003786571324]