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.001596/0.001596, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.002079/0.002079, allocations: 168.2 kB / 22.46 MB, free: 5.359 MB / 14.72 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.489/1.489, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 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.663/2.663, allocations: 359 MB / 0.6037 GB, free: 15.02 MB / 0.5762 GB " [Timeout remaining time 177] 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.727e-06/3.727e-06, allocations: 0 / 0.9509 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.403e-05/3.776e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002206/0.002244, allocations: 0.6049 MB / 0.9515 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001837/0.004081, allocations: 1.132 MB / 0.9526 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-05/0.004127, allocations: 0 / 0.9526 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.916e-05/0.004156, allocations: 3.938 kB / 0.9526 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.85e-05/0.004234, allocations: 7.938 kB / 0.9527 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000522/0.004756, allocations: 123.8 kB / 0.9528 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.004956, allocations: 91.81 kB / 0.9529 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.00506, allocations: 11.92 kB / 0.9529 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.005175, allocations: 51.91 kB / 0.9529 GB, free: 9.602 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.005286, allocations: 27.94 kB / 0.953 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.005317, allocations: 8 kB / 0.953 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.301e-05/0.00539, allocations: 19.94 kB / 0.953 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.385e-05/0.005413, allocations: 4 kB / 0.953 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.308e-05/0.005486, allocations: 27.91 kB / 0.953 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.005706, allocations: 99.81 kB / 0.9531 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.00571, allocations: 3.938 kB / 0.9531 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.522e-06/0.005712, allocations: 4 kB / 0.9531 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.005717, allocations: 0 / 0.9531 GB, free: 9.41 MB / 0.8575 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.0005506/0.006268, allocations: 303.9 kB / 0.9534 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.006311, allocations: 12.03 kB / 0.9534 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.392e-05/0.006365, allocations: 8.891 kB / 0.9534 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.00648, allocations: 105.8 kB / 0.9535 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.006502, allocations: 384 / 0.9535 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.006526, allocations: 12.36 kB / 0.9535 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.006643, allocations: 38.2 kB / 0.9536 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.006654, allocations: 4.172 kB / 0.9536 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.006663, allocations: 4.375 kB / 0.9536 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.006669, allocations: 384 / 0.9536 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.184e-05/0.006721, allocations: 11.94 kB / 0.9536 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00044/0.007161, allocations: 224.5 kB / 0.9538 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.769e-05/0.007249, allocations: 38.5 kB / 0.9538 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.836e-05/0.007277, allocations: 12.92 kB / 0.9539 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.007289, allocations: 3.938 kB / 0.9539 GB, free: 8.535 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/0.00746, allocations: 59.39 kB / 0.9539 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.007461, allocations: 0 / 0.9539 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002517/0.007713, allocations: 69.62 kB / 0.954 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/0.007772, allocations: 55.41 kB / 0.954 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.00789, allocations: 113.8 kB / 0.9541 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.007924, allocations: 29.7 kB / 0.9542 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.548e-05/0.008, allocations: 92.08 kB / 0.9543 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.008018, allocations: 7.953 kB / 0.9543 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.134e-05/0.008099, allocations: 29.7 kB / 0.9543 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.008274, allocations: 314.8 kB / 0.9546 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.008383, allocations: 61.67 kB / 0.9547 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.008608, allocations: 80.27 kB / 0.9547 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.008748, allocations: 96.19 kB / 0.9548 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.00875, allocations: 0 / 0.9548 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003294/0.009079, allocations: 181 kB / 0.955 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.013e-05/0.009129, allocations: 33.64 kB / 0.955 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.009141, allocations: 8.062 kB / 0.955 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/0.009166, allocations: 0 / 0.955 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.586e-05/0.009242, allocations: 7.984 kB / 0.955 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.009247, allocations: 400 / 0.955 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.009465, allocations: 39.92 kB / 0.9551 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.009485, allocations: 4 kB / 0.9551 GB, free: 7.152 MB / 0.8575 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.0001205/0.009605, allocations: 121.8 kB / 0.9552 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-06/0.009615, allocations: 0 / 0.9552 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.522e-05/0.00965, allocations: 16.09 kB / 0.9552 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.009654, allocations: 3.984 kB / 0.9552 GB, free: 7 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.009659, allocations: 4 kB / 0.9552 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.207e-06/0.009663, allocations: 0 / 0.9552 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.009781, allocations: 105.3 kB / 0.9553 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.009782, allocations: 0 / 0.9553 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.946e-05/0.009802, allocations: 11.94 kB / 0.9553 GB, free: 6.852 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.009804, allocations: 0 / 0.9553 GB, free: 6.852 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.009812, allocations: 3.938 kB / 0.9553 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.009815, allocations: 3.938 kB / 0.9553 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.009816, allocations: 4 kB / 0.9553 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.009957, allocations: 89.06 kB / 0.9554 GB, free: 6.734 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.079e-05/0.009968, allocations: 4 kB / 0.9554 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.009983, allocations: 0 / 0.9554 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.746e-05/0.01, allocations: 3.938 kB / 0.9554 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.01003, allocations: 0 / 0.9554 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.01004, allocations: 4 kB / 0.9554 GB, free: 6.723 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.059e-05/0.0101, allocations: 91.27 kB / 0.9555 GB, free: 6.633 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.0101, allocations: 0 / 0.9555 GB, free: 6.633 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002405/0.01034, allocations: 16 kB / 0.9555 GB, free: 6.617 MB / 0.8575 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.0001777/0.01052, allocations: 103.2 kB / 0.9556 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002769/0.01079, allocations: 145 kB / 0.9558 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.0108, allocations: 0 / 0.9558 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.319e-05/0.01084, allocations: 15.98 kB / 0.9558 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.01105, allocations: 8.062 kB / 0.9558 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/0.0114, allocations: 136.7 kB / 0.9559 GB, free: 6.164 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.825e-05/0.01147, allocations: 63.34 kB / 0.956 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.335e-05/0.01149, allocations: 4 kB / 0.956 GB, free: 6.078 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.243e-05/0.01151, allocations: 8.5 kB / 0.956 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of SimCode: time 4.41e-07/0.01151, allocations: 0 / 0.956 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of Templates: time 0.004338/0.01585, allocations: 1.181 MB / 0.9572 GB, free: 4.918 MB / 0.8575 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.921735376119614]