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.001068/0.001068, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001387/0.001387, allocations: 169 kB / 24.28 MB, free: 280 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 1.035/1.035, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.856/1.856, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 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 1.993e-06/1.993e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.553e-05/1.752e-05, allocations: 6.438 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001088/0.001106, allocations: 0.6216 MB / 0.7877 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.002136, allocations: 1.16 MB / 0.7888 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.094e-05/0.002177, allocations: 4 kB / 0.7888 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.085e-05/0.002197, allocations: 0.5625 kB / 0.7888 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.657e-05/0.002254, allocations: 3.938 kB / 0.7888 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.002595, allocations: 120.9 kB / 0.7889 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.002708, allocations: 93.45 kB / 0.789 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.739e-05/0.002775, allocations: 3.984 kB / 0.789 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.502e-05/0.00285, allocations: 59.83 kB / 0.7891 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.536e-05/0.002915, allocations: 19.97 kB / 0.7891 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.002933, allocations: 9.219 kB / 0.7891 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.699e-05/0.00298, allocations: 23.98 kB / 0.7891 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.002994, allocations: 0 / 0.7891 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.227e-05/0.003037, allocations: 35.89 kB / 0.7892 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.003154, allocations: 72.53 kB / 0.7892 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.003156, allocations: 0.9062 kB / 0.7892 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.092e-06/0.003157, allocations: 0 / 0.7892 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.00316, allocations: 0 / 0.7892 GB, free: 10.59 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.000364/0.003524, allocations: 406.9 kB / 0.7896 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.003557, allocations: 8.031 kB / 0.7896 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.003598, allocations: 6.531 kB / 0.7896 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.245e-05/0.00368, allocations: 120.5 kB / 0.7897 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.003697, allocations: 4.375 kB / 0.7898 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.00371, allocations: 4.375 kB / 0.7898 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.456e-05/0.003784, allocations: 47.61 kB / 0.7898 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.003791, allocations: 192 / 0.7898 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.405e-06/0.0038, allocations: 7.812 kB / 0.7898 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.00381, allocations: 4.375 kB / 0.7898 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.351e-05/0.003833, allocations: 15.86 kB / 0.7898 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002889/0.004122, allocations: 279.8 kB / 0.7901 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.26e-05/0.004175, allocations: 35 kB / 0.7901 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.683e-05/0.004192, allocations: 11.67 kB / 0.7901 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.42e-06/0.004197, allocations: 0 / 0.7901 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.728e-05/0.004284, allocations: 65.11 kB / 0.7902 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.004285, allocations: 0.7188 kB / 0.7902 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001564/0.004442, allocations: 73.7 kB / 0.7903 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.004472, allocations: 53.06 kB / 0.7903 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.819e-05/0.00455, allocations: 169.9 kB / 0.7905 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.004566, allocations: 25.7 kB / 0.7905 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.963e-05/0.004616, allocations: 134.9 kB / 0.7906 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.004633, allocations: 17.22 kB / 0.7907 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.363e-05/0.004677, allocations: 35.36 kB / 0.7907 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.004793, allocations: 492.1 kB / 0.7912 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.852e-05/0.004861, allocations: 58.33 kB / 0.7912 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.98e-05/0.004931, allocations: 88.73 kB / 0.7913 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.072e-05/0.005012, allocations: 86.03 kB / 0.7914 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.005014, allocations: 4 kB / 0.7914 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001839/0.005198, allocations: 178.2 kB / 0.7916 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.005228, allocations: 37.64 kB / 0.7916 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.005233, allocations: 0.7188 kB / 0.7916 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.005245, allocations: 4 kB / 0.7916 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.156e-05/0.005286, allocations: 5.344 kB / 0.7916 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.005292, allocations: 4 kB / 0.7916 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.005397, allocations: 19.97 kB / 0.7916 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.005408, allocations: 5.25 kB / 0.7916 GB, free: 7.871 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 6.875e-05/0.005477, allocations: 164.5 kB / 0.7918 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.576e-06/0.005486, allocations: 8.484 kB / 0.7918 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.047e-05/0.005506, allocations: 11.92 kB / 0.7918 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.00551, allocations: 4.531 kB / 0.7918 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.005513, allocations: 0.875 kB / 0.7918 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.005516, allocations: 0 / 0.7918 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.642e-05/0.005583, allocations: 117.4 kB / 0.7919 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.005584, allocations: 0 / 0.7919 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.307e-06/0.005593, allocations: 12 kB / 0.7919 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.81e-07/0.005594, allocations: 0.5312 kB / 0.7919 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.005599, allocations: 1.375 kB / 0.7919 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.005601, allocations: 3.938 kB / 0.7919 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.005603, allocations: 4 kB / 0.7919 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.719e-05/0.00568, allocations: 96.36 kB / 0.792 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.683e-06/0.005687, allocations: 5.109 kB / 0.792 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.005697, allocations: 4 kB / 0.792 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.117e-06/0.005706, allocations: 3.938 kB / 0.792 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-05/0.005729, allocations: 4.703 kB / 0.792 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.005733, allocations: 4 kB / 0.7921 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.481e-05/0.005768, allocations: 128.2 kB / 0.7922 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005768, allocations: 0.8125 kB / 0.7922 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001359/0.005904, allocations: 16 kB / 0.7922 GB, free: 7.23 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.0001/0.006004, allocations: 104.1 kB / 0.7923 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000315/0.006319, allocations: 150.2 kB / 0.7924 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.006321, allocations: 0 / 0.7924 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.452e-05/0.006345, allocations: 19.67 kB / 0.7925 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.006487, allocations: 15 kB / 0.7925 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002188/0.006705, allocations: 136.5 kB / 0.7926 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.622e-05/0.006732, allocations: 51.36 kB / 0.7926 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.621e-05/0.006748, allocations: 7.984 kB / 0.7927 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.63e-05/0.006764, allocations: 12.5 kB / 0.7927 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/0.006765, allocations: 4 kB / 0.7927 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of Templates: time 0.00252/0.009285, allocations: 1.196 MB / 0.7938 GB, free: 5.523 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: 5.341914094053209]