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.0009751/0.0009751, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 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.001033/0.001033, allocations: 160.3 kB / 24.86 MB, free: 8.688 MB / 18.57 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 0.9722/0.9722, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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 1.834/1.834, allocations: 359 MB / 0.6063 GB, free: 10.86 MB / 0.573 GB " [Timeout remaining time 178] 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 2.675e-06/2.675e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/3.013e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002053/0.002083, allocations: 0.6236 MB / 0.7889 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00141/0.003493, allocations: 1.161 MB / 0.79 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.533e-05/0.003538, allocations: 3.938 kB / 0.79 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.781e-05/0.003566, allocations: 0 / 0.79 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.26e-05/0.003639, allocations: 4.469 kB / 0.79 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003937/0.004033, allocations: 120.5 kB / 0.7901 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.004165, allocations: 92.89 kB / 0.7902 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.945e-05/0.004245, allocations: 7.984 kB / 0.7902 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.772e-05/0.004332, allocations: 51.89 kB / 0.7903 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.645e-05/0.004419, allocations: 25.38 kB / 0.7903 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.00444, allocations: 8 kB / 0.7903 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.722e-05/0.004498, allocations: 23.97 kB / 0.7903 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.124e-05/0.004519, allocations: 4 kB / 0.7904 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.632e-05/0.004555, allocations: 24.98 kB / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.004691, allocations: 79.83 kB / 0.7905 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.004695, allocations: 0 / 0.7905 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.82e-07/0.004695, allocations: 1.562 kB / 0.7905 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.004699, allocations: 0 / 0.7905 GB, free: 9.992 MB / 0.7448 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.0003504/0.00505, allocations: 402.3 kB / 0.7908 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.005084, allocations: 11.97 kB / 0.7908 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.005122, allocations: 14.81 kB / 0.7909 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.377e-05/0.005196, allocations: 112.6 kB / 0.791 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.005212, allocations: 4.375 kB / 0.791 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.005225, allocations: 4.375 kB / 0.791 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.854e-05/0.005294, allocations: 50.95 kB / 0.791 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.0053, allocations: 2.531 kB / 0.791 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-06/0.005307, allocations: 384 / 0.791 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.00531, allocations: 4.375 kB / 0.791 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.605e-05/0.005326, allocations: 3.938 kB / 0.791 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002602/0.005587, allocations: 276.2 kB / 0.7913 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.572e-05/0.005632, allocations: 31.69 kB / 0.7913 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.504e-05/0.005647, allocations: 11.75 kB / 0.7913 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.912e-06/0.005653, allocations: 1.656 kB / 0.7913 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.287e-05/0.005736, allocations: 61.05 kB / 0.7914 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.005738, allocations: 0 / 0.7914 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001361/0.005874, allocations: 73.5 kB / 0.7915 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.005906, allocations: 52.19 kB / 0.7915 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.26e-05/0.005978, allocations: 165.9 kB / 0.7917 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.005994, allocations: 26.45 kB / 0.7917 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.078e-05/0.006045, allocations: 138.9 kB / 0.7918 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.28e-05/0.006058, allocations: 9.422 kB / 0.7918 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-05/0.006105, allocations: 39.34 kB / 0.7919 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.006216, allocations: 496.1 kB / 0.7924 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.274e-05/0.006269, allocations: 49.69 kB / 0.7924 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.812e-05/0.006327, allocations: 87.03 kB / 0.7925 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.589e-05/0.006393, allocations: 80.69 kB / 0.7926 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.006396, allocations: 0 / 0.7926 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001777/0.006573, allocations: 169.7 kB / 0.7927 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.626e-05/0.006609, allocations: 41.69 kB / 0.7928 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.006615, allocations: 0.5312 kB / 0.7928 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-06/0.006624, allocations: 3.938 kB / 0.7928 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.548e-05/0.00667, allocations: 5.656 kB / 0.7928 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-06/0.006672, allocations: 3.938 kB / 0.7928 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.006781, allocations: 16.22 kB / 0.7928 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.006793, allocations: 4.625 kB / 0.7928 GB, free: 7.332 MB / 0.7448 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 7.745e-05/0.00687, allocations: 169.9 kB / 0.793 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.855e-06/0.006878, allocations: 3.953 kB / 0.793 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.183e-05/0.0069, allocations: 11.98 kB / 0.793 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.006903, allocations: 5.094 kB / 0.793 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-06/0.006905, allocations: 64 / 0.793 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.006909, allocations: 4 kB / 0.793 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.535e-05/0.006984, allocations: 109.2 kB / 0.7931 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.006985, allocations: 1.375 kB / 0.7931 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.054e-05/0.006996, allocations: 0 / 0.7931 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.006997, allocations: 3.938 kB / 0.7931 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-06/0.007001, allocations: 1.75 kB / 0.7931 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.007002, allocations: 4 kB / 0.7931 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.007003, allocations: 0 / 0.7931 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.046e-05/0.007094, allocations: 96.3 kB / 0.7932 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.715e-06/0.007101, allocations: 3.953 kB / 0.7932 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.957e-06/0.00711, allocations: 5.281 kB / 0.7932 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.646e-06/0.007119, allocations: 0 / 0.7932 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.113e-05/0.00714, allocations: 7.922 kB / 0.7932 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-06/0.007144, allocations: 0 / 0.7932 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.937e-05/0.007183, allocations: 136.2 kB / 0.7933 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.007183, allocations: 0.875 kB / 0.7933 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001483/0.007331, allocations: 16 kB / 0.7934 GB, free: 6.711 MB / 0.7448 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.0001209/0.007452, allocations: 108.7 kB / 0.7935 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000146/0.007598, allocations: 140.7 kB / 0.7936 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.0076, allocations: 0 / 0.7936 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.983e-05/0.00762, allocations: 16.69 kB / 0.7936 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.007777, allocations: 17.36 kB / 0.7936 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002228/0.008, allocations: 130.1 kB / 0.7937 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.904e-05/0.008029, allocations: 59.34 kB / 0.7938 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.925e-05/0.008048, allocations: 4 kB / 0.7938 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.34e-05/0.008121, allocations: 86.12 kB / 0.7939 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of SimCode: time 7.91e-07/0.008122, allocations: 0 / 0.7939 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of Templates: time 0.003402/0.01152, allocations: 1.312 MB / 0.7952 GB, free: 4.824 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.966782304923981]