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.0009502/0.0009502, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.0009995/0.0009995, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.948/0.948, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.725/1.725, allocations: 359 MB / 0.6055 GB, free: 10.88 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 1.994e-06/1.994e-06, allocations: 0 / 0.7875 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.004e-05/3.203e-05, allocations: 8.922 kB / 0.7875 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.004615/0.004647, allocations: 0.613 MB / 0.7881 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.005761, allocations: 1.155 MB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.162e-05/0.005803, allocations: 0 / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.379e-05/0.005827, allocations: 4.562 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.529e-05/0.005892, allocations: 11.86 kB / 0.7893 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000379/0.006271, allocations: 125.5 kB / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.006402, allocations: 87.83 kB / 0.7895 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.171e-05/0.006484, allocations: 4 kB / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.945e-05/0.006573, allocations: 56.42 kB / 0.7895 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.331e-05/0.006657, allocations: 30.7 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.006676, allocations: 8 kB / 0.7896 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.821e-05/0.006734, allocations: 19.98 kB / 0.7896 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.006752, allocations: 4 kB / 0.7896 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.216e-05/0.006784, allocations: 27.97 kB / 0.7896 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.006902, allocations: 79.77 kB / 0.7897 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.006906, allocations: 0 / 0.7897 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.533e-06/0.006907, allocations: 0 / 0.7897 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.006911, allocations: 1.406 kB / 0.7897 GB, free: 9.984 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.0003215/0.007232, allocations: 398.3 kB / 0.7901 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.007277, allocations: 12.03 kB / 0.7901 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.00731, allocations: 5.531 kB / 0.7901 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.137e-05/0.007382, allocations: 120.5 kB / 0.7902 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.007397, allocations: 5.281 kB / 0.7902 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.00741, allocations: 8.359 kB / 0.7902 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.43e-05/0.007474, allocations: 47.7 kB / 0.7903 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-06/0.00748, allocations: 4.188 kB / 0.7903 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.52e-06/0.007485, allocations: 2.188 kB / 0.7903 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.007489, allocations: 384 / 0.7903 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.634e-05/0.007506, allocations: 7.938 kB / 0.7903 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002385/0.007744, allocations: 260.4 kB / 0.7905 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.122e-05/0.007785, allocations: 34.98 kB / 0.7906 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.164e-05/0.007797, allocations: 13.28 kB / 0.7906 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.25e-06/0.007802, allocations: 0 / 0.7906 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.622e-05/0.007878, allocations: 65.03 kB / 0.7906 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.00788, allocations: 1.906 kB / 0.7906 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001268/0.008006, allocations: 69.52 kB / 0.7907 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.008033, allocations: 51.41 kB / 0.7908 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.665e-05/0.0081, allocations: 169.8 kB / 0.7909 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.008115, allocations: 33.7 kB / 0.791 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.709e-05/0.008162, allocations: 137.4 kB / 0.7911 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.251e-05/0.008175, allocations: 7.938 kB / 0.7911 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-05/0.008225, allocations: 35.36 kB / 0.7911 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.00833, allocations: 496.1 kB / 0.7916 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.944e-05/0.008379, allocations: 53.67 kB / 0.7917 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.094e-05/0.00843, allocations: 77.06 kB / 0.7917 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.337e-05/0.008493, allocations: 89.2 kB / 0.7918 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.008495, allocations: 0.7188 kB / 0.7918 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001548/0.00865, allocations: 173.5 kB / 0.792 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.008678, allocations: 39.33 kB / 0.792 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.008682, allocations: 80 / 0.792 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.008694, allocations: 3.938 kB / 0.792 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.948e-05/0.008734, allocations: 4.234 kB / 0.792 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.008738, allocations: 8.594 kB / 0.792 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.967e-05/0.008838, allocations: 20.67 kB / 0.7921 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.008848, allocations: 4 kB / 0.7921 GB, free: 7.32 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.102e-05/0.008919, allocations: 165.2 kB / 0.7922 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.008933, allocations: 16.86 kB / 0.7922 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.096e-05/0.008954, allocations: 4 kB / 0.7922 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.008957, allocations: 5.312 kB / 0.7922 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.008959, allocations: 0 / 0.7922 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.008962, allocations: 0 / 0.7922 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.192e-05/0.009034, allocations: 105.2 kB / 0.7923 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.009035, allocations: 1.156 kB / 0.7923 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.018e-05/0.009045, allocations: 0 / 0.7923 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.009047, allocations: 4 kB / 0.7923 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-06/0.009051, allocations: 0.5312 kB / 0.7923 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.009052, allocations: 0 / 0.7923 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.009053, allocations: 0.875 kB / 0.7923 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.825e-05/0.009141, allocations: 96.3 kB / 0.7924 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.005e-05/0.009151, allocations: 12.78 kB / 0.7925 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.424e-06/0.009159, allocations: 0 / 0.7925 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.408e-06/0.009168, allocations: 1.688 kB / 0.7925 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.848e-05/0.009187, allocations: 7.875 kB / 0.7925 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.00919, allocations: 4 kB / 0.7925 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.695e-05/0.009227, allocations: 131.2 kB / 0.7926 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.009227, allocations: 0 / 0.7926 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000135/0.009362, allocations: 16.84 kB / 0.7926 GB, free: 6.707 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.0001115/0.009473, allocations: 105.4 kB / 0.7927 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001438/0.009617, allocations: 136.7 kB / 0.7928 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.009619, allocations: 0 / 0.7928 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.303e-05/0.009642, allocations: 27.66 kB / 0.7929 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.009788, allocations: 6.125 kB / 0.7929 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002007/0.009989, allocations: 138.1 kB / 0.793 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.594e-05/0.01001, allocations: 51.36 kB / 0.793 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.568e-05/0.01003, allocations: 4 kB / 0.7931 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.797e-05/0.01011, allocations: 90.67 kB / 0.7931 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of SimCode: time 8.21e-07/0.01011, allocations: 0.5312 kB / 0.7931 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of Templates: time 0.002728/0.01284, allocations: 1.305 MB / 0.7944 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.730352326761931]