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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 115.6 kB / 16.41 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 187.6 kB / 17.34 MB, free: 5.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.602/2.602, allocations: 437.1 MB / 0.7112 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 60.14 kB / 1.019 GB, free: 9.488 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8901/0.8915, allocations: 151.6 MB / 1.167 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001858/0.8934, allocations: 0.6075 MB / 1.168 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.8948, allocations: 1.119 MB / 1.169 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.87e-05/0.8949, allocations: 4 kB / 1.169 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.669e-05/0.8949, allocations: 0 / 1.169 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.789e-05/0.895, allocations: 3.938 kB / 1.169 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005176/0.8955, allocations: 125.9 kB / 1.169 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.8957, allocations: 95.88 kB / 1.169 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.62e-05/0.8958, allocations: 8 kB / 1.169 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.6e-05/0.8959, allocations: 35.86 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.341e-05/0.896, allocations: 35.88 kB / 1.169 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.896, allocations: 8 kB / 1.169 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.165e-05/0.8961, allocations: 27.98 kB / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.565e-05/0.8961, allocations: 4 kB / 1.169 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.03e-05/0.8962, allocations: 35.89 kB / 1.169 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.8963, allocations: 83.78 kB / 1.169 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.8963, allocations: 0 / 1.169 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8963, allocations: 4 kB / 1.169 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.8964, allocations: 0 / 1.169 GB, free: 1.707 MB / 0.8887 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.0004183/0.8968, allocations: 377.5 kB / 1.17 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.8968, allocations: 12.03 kB / 1.17 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.901e-05/0.8969, allocations: 16.86 kB / 1.17 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.897, allocations: 164.4 kB / 1.17 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.897, allocations: 4.375 kB / 1.17 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.897, allocations: 4.375 kB / 1.17 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.846e-05/0.8971, allocations: 42.19 kB / 1.17 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.8972, allocations: 4.188 kB / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.8972, allocations: 3.938 kB / 1.17 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.8972, allocations: 0 / 1.17 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.685e-05/0.8972, allocations: 7.984 kB / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000361/0.8976, allocations: 296.9 kB / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.756e-05/0.8977, allocations: 38.44 kB / 1.17 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.111e-05/0.8977, allocations: 8.922 kB / 1.17 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.8977, allocations: 0 / 1.17 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001337/0.8978, allocations: 59.39 kB / 1.17 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.8978, allocations: 0 / 1.17 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0001879/0.898, allocations: 77.56 kB / 1.17 GB, free: 448 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.8981, allocations: 51.41 kB / 1.171 GB, free: 384 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.088e-05/0.8982, allocations: 117.8 kB / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.8982, allocations: 25.7 kB / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.867e-05/0.8982, allocations: 92.12 kB / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.387e-05/0.8983, allocations: 3.953 kB / 1.171 GB, free: 124 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.33e-05/0.8983, allocations: 29.7 kB / 1.171 GB, free: 88 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.8985, allocations: 318.8 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.098e-05/0.8985, allocations: 35.97 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.979e-05/0.8986, allocations: 46.56 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.8988, allocations: 88.2 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.8988, allocations: 0 / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000252/0.899, allocations: 155.2 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.596e-05/0.8991, allocations: 41.7 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.8991, allocations: 3.984 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.8991, allocations: 4 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.584e-05/0.8991, allocations: 0 / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.8992, allocations: 0 / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.8994, allocations: 31.97 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.8994, allocations: 8 kB / 1.171 GB, free: 15.32 MB / 0.9044 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 8.036e-05/0.8995, allocations: 125.7 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.142e-05/0.8995, allocations: 3.984 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.568e-05/0.8995, allocations: 11.91 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.8995, allocations: 0 / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.8995, allocations: 0 / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.649e-05/0.8996, allocations: 81.06 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.8996, allocations: 7.938 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.458e-05/0.8996, allocations: 0 / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.732e-05/0.8997, allocations: 8.156 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001164/0.8998, allocations: 141 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001382/0.8999, allocations: 226.8 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.304e-05/0.9, allocations: 11.94 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.125e-05/0.9, allocations: 91.27 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of Backend: time 4.71e-07/0.9, allocations: 0 / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004826/0.9005, allocations: 193.8 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004503/0.901, allocations: 0.5743 MB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of Templates: time 0.003378/0.9044, allocations: 1.109 MB / 1.174 GB, free: 12.64 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches