Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 225.6 MB / 249.9 MB, free: 13.63 MB / 206.1 MB [Timeout remaining time 89] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.861/2.861, allocations: 489.7 MB / 0.7761 GB, free: 33.74 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=513,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=513,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 73.39 kB / 1.127 GB, free: 36.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2862, allocations: 172.1 MB / 1.295 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.00169/0.2879, allocations: 0.6115 MB / 1.295 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.2892, allocations: 1.122 MB / 1.297 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.817e-05/0.2893, allocations: 0 / 1.297 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.51e-05/0.2893, allocations: 0 / 1.297 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.393e-05/0.2893, allocations: 11.92 kB / 1.297 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004455/0.2898, allocations: 123.3 kB / 1.297 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.2899, allocations: 95.75 kB / 1.297 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.443e-05/0.29, allocations: 4 kB / 1.297 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.28e-05/0.2901, allocations: 31.97 kB / 1.297 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.899e-05/0.2902, allocations: 35.89 kB / 1.297 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.2902, allocations: 12 kB / 1.297 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.015e-05/0.2903, allocations: 19.98 kB / 1.297 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.2903, allocations: 7.938 kB / 1.297 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.693e-05/0.2903, allocations: 35.89 kB / 1.297 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.2905, allocations: 87.72 kB / 1.297 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2905, allocations: 0 / 1.297 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.522e-06/0.2905, allocations: 0 / 1.297 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.2905, allocations: 0 / 1.297 GB, free: 9.566 MB / 0.9981 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.0004745/0.291, allocations: 377.1 kB / 1.297 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.291, allocations: 8.031 kB / 1.297 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.644e-05/0.2911, allocations: 16.88 kB / 1.297 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.2912, allocations: 172.3 kB / 1.298 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.2912, allocations: 8.359 kB / 1.298 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.2912, allocations: 4.375 kB / 1.298 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.553e-05/0.2913, allocations: 38.25 kB / 1.298 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.2913, allocations: 192 / 1.298 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.2913, allocations: 3.938 kB / 1.298 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.2913, allocations: 4 kB / 1.298 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.51e-05/0.2914, allocations: 11.94 kB / 1.298 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000385/0.2918, allocations: 292.9 kB / 1.298 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.265e-05/0.2918, allocations: 30.45 kB / 1.298 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.094e-05/0.2919, allocations: 12.92 kB / 1.298 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.089e-06/0.2919, allocations: 0 / 1.298 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001056/0.292, allocations: 63.34 kB / 1.298 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.292, allocations: 4 kB / 1.298 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0001881/0.2922, allocations: 73.61 kB / 1.298 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.2922, allocations: 51.41 kB / 1.298 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.404e-05/0.2923, allocations: 109.8 kB / 1.298 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.2923, allocations: 29.7 kB / 1.298 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.489e-05/0.2924, allocations: 84.09 kB / 1.298 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.2924, allocations: 15.94 kB / 1.298 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-05/0.2924, allocations: 29.7 kB / 1.298 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.2926, allocations: 318.8 kB / 1.299 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8e-05/0.2927, allocations: 31.98 kB / 1.299 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.606e-05/0.2927, allocations: 54.5 kB / 1.299 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.2929, allocations: 84.2 kB / 1.299 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2929, allocations: 3.938 kB / 1.299 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002695/0.2931, allocations: 151.3 kB / 1.299 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.582e-05/0.2932, allocations: 37.69 kB / 1.299 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.2932, allocations: 0 / 1.299 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.2932, allocations: 0 / 1.299 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.395e-05/0.2932, allocations: 4.062 kB / 1.299 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.2932, allocations: 4 kB / 1.299 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.2934, allocations: 31.92 kB / 1.299 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.2934, allocations: 8 kB / 1.299 GB, free: 7.172 MB / 0.9981 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.0001036/0.2935, allocations: 129.8 kB / 1.299 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.856e-06/0.2936, allocations: 0 / 1.299 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.218e-05/0.2936, allocations: 7.906 kB / 1.299 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.2936, allocations: 0 / 1.299 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.2936, allocations: 0 / 1.299 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.2936, allocations: 0 / 1.299 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.2937, allocations: 173.5 kB / 1.299 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.2937, allocations: 0 / 1.299 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.376e-05/0.2937, allocations: 0 / 1.299 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2938, allocations: 240 / 1.299 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.2938, allocations: 8 kB / 1.299 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2938, allocations: 0 / 1.299 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.2938, allocations: 0 / 1.299 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.2939, allocations: 92.98 kB / 1.299 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-05/0.2939, allocations: 77.11 kB / 1.3 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.2939, allocations: 7.938 kB / 1.3 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.364e-05/0.2939, allocations: 0 / 1.3 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.294, allocations: 7.938 kB / 1.3 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.294, allocations: 11.98 kB / 1.3 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.3e-05/0.294, allocations: 79.28 kB / 1.3 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.294, allocations: 0 / 1.3 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000205/0.2942, allocations: 20 kB / 1.3 GB, free: 6.469 MB / 0.9981 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.0001271/0.2944, allocations: 103.8 kB / 1.3 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002106/0.2946, allocations: 107.4 kB / 1.3 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2946, allocations: 3.938 kB / 1.3 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.714e-05/0.2946, allocations: 20.06 kB / 1.3 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.2948, allocations: 12.67 kB / 1.3 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002847/0.2951, allocations: 159.7 kB / 1.3 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.2954, allocations: 0.6807 MB / 1.301 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.96e-05/0.2954, allocations: 7.438 kB / 1.301 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of SimCode: time 2.9e-07/0.2954, allocations: 0 / 1.301 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of Templates: time 0.002415/0.2978, allocations: 0.9406 MB / 1.302 GB, free: 4.379 MB / 0.9981 GB [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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