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.001841/0.001841, allocations: 119.9 kB / 17.13 MB, free: 5.758 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.002192/0.002192, allocations: 191.7 kB / 20.08 MB, free: 2.848 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.454/1.454, allocations: 225.6 MB / 248.5 MB, free: 3.637 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.59/2.59, allocations: 443.5 MB / 0.7293 GB, free: 14.54 MB / 0.5763 GB " [Timeout remaining time 177] 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.001966/0.001966, allocations: 67.89 kB / 1.057 GB, free: 2.035 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3033, allocations: 160.7 MB / 1.214 GB, free: 1 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001812/0.3051, allocations: 0.603 MB / 1.215 GB, free: 396 kB / 0.9513 GB Notification: Performance of NFInst.instExpressions: time 0.001474/0.3065, allocations: 1.121 MB / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.038e-05/0.3066, allocations: 4 kB / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.164e-05/0.3066, allocations: 3.938 kB / 1.216 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.418e-05/0.3067, allocations: 11.86 kB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004644/0.3072, allocations: 127.6 kB / 1.216 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.3073, allocations: 83.89 kB / 1.216 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.472e-05/0.3074, allocations: 7.984 kB / 1.216 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.128e-05/0.3075, allocations: 39.91 kB / 1.216 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.3076, allocations: 31.89 kB / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.551e-05/0.3076, allocations: 12 kB / 1.216 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.05e-05/0.3077, allocations: 23.98 kB / 1.216 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.3077, allocations: 3.938 kB / 1.216 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.923e-05/0.3077, allocations: 35.91 kB / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.3079, allocations: 83.72 kB / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3079, allocations: 0 / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3079, allocations: 0 / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.3079, allocations: 0 / 1.216 GB, free: 14.79 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.000513/0.3084, allocations: 385 kB / 1.217 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.3085, allocations: 8.031 kB / 1.217 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.205e-05/0.3085, allocations: 8.938 kB / 1.217 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.3087, allocations: 168.3 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.3087, allocations: 4.375 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.3087, allocations: 8.375 kB / 1.217 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.056e-05/0.3088, allocations: 34.25 kB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.3088, allocations: 192 / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.3088, allocations: 7.938 kB / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.3088, allocations: 0 / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.289e-05/0.3089, allocations: 19.91 kB / 1.217 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004078/0.3093, allocations: 292.9 kB / 1.217 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.597e-05/0.3093, allocations: 34.44 kB / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.497e-05/0.3094, allocations: 12.92 kB / 1.217 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.3094, allocations: 0 / 1.217 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001438/0.3095, allocations: 63.33 kB / 1.217 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 3.757e-06/0.3095, allocations: 4 kB / 1.217 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002021/0.3097, allocations: 61.69 kB / 1.217 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.3098, allocations: 59.41 kB / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.302e-05/0.3099, allocations: 109.8 kB / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.3099, allocations: 25.7 kB / 1.217 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.999e-05/0.31, allocations: 92.12 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.31, allocations: 3.953 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.596e-05/0.3101, allocations: 29.7 kB / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3102, allocations: 322.8 kB / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.247e-05/0.3103, allocations: 31.92 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.888e-05/0.3104, allocations: 54.48 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.3105, allocations: 88.25 kB / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.3105, allocations: 3.938 kB / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002863/0.3108, allocations: 155.2 kB / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.123e-05/0.3108, allocations: 39.58 kB / 1.218 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3108, allocations: 0 / 1.218 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3109, allocations: 0 / 1.218 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.038e-05/0.3109, allocations: 11.92 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3109, allocations: 0 / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.3111, allocations: 23.97 kB / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.3111, allocations: 4 kB / 1.218 GB, free: 12.4 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.0001116/0.3112, allocations: 125.8 kB / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.01e-05/0.3113, allocations: 0 / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.413e-05/0.3113, allocations: 7.891 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3113, allocations: 0 / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.3113, allocations: 8.062 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.3113, allocations: 0 / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.3114, allocations: 161.6 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.3114, allocations: 7.984 kB / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.468e-05/0.3115, allocations: 0 / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3115, allocations: 0 / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.3115, allocations: 7.938 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3115, allocations: 4 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3115, allocations: 0 / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.3116, allocations: 88.95 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.554e-05/0.3116, allocations: 85.03 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.3117, allocations: 4 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.643e-05/0.3117, allocations: 4 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.022e-05/0.3117, allocations: 0 / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.3117, allocations: 4 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.389e-05/0.3118, allocations: 91.66 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3118, allocations: 0 / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002155/0.312, allocations: 16 kB / 1.219 GB, free: 11.7 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.0001389/0.3121, allocations: 95.25 kB / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000238/0.3123, allocations: 119.6 kB / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3123, allocations: 4 kB / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.58e-05/0.3124, allocations: 8.125 kB / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.3126, allocations: 20.11 kB / 1.219 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003152/0.3129, allocations: 155.5 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.3132, allocations: 0.6846 MB / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.068e-05/0.3132, allocations: 11.44 kB / 1.22 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of SimCode: time 4.01e-07/0.3132, allocations: 0 / 1.22 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of Templates: time 0.00273/0.316, allocations: 0.9277 MB / 1.221 GB, free: 9.602 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.293746358016506]