Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.311/2.311, allocations: 390.3 MB / 0.6653 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003139/0.0003139, allocations: 12 kB / 0.8145 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6215/0.6218, allocations: 142.3 MB / 0.9535 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.0007654/0.6227, allocations: 332.8 kB / 0.9538 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.624, allocations: 1.074 MB / 0.9549 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.574e-05/0.624, allocations: 0 / 0.9549 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.037e-05/0.6241, allocations: 0 / 0.9549 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.538e-05/0.6241, allocations: 14.36 kB / 0.9549 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004367/0.6246, allocations: 103.7 kB / 0.955 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.728e-05/0.6247, allocations: 47.34 kB / 0.955 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.065e-05/0.6248, allocations: 10.05 kB / 0.955 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.219e-05/0.6249, allocations: 36.03 kB / 0.9551 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.573e-05/0.6249, allocations: 23.03 kB / 0.9551 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.625, allocations: 4.25 kB / 0.9551 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.56e-05/0.6251, allocations: 19.36 kB / 0.9551 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.6251, allocations: 1.5 kB / 0.9551 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.464e-05/0.6251, allocations: 35.56 kB / 0.9552 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.6252, allocations: 61.11 kB / 0.9552 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.6252, allocations: 0.875 kB / 0.9552 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6253, allocations: 0 / 0.9552 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.6253, allocations: 4 kB / 0.9552 GB, free: 6.801 MB / 0.7169 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.0003804/0.6256, allocations: 366.9 kB / 0.9556 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.6257, allocations: 8.375 kB / 0.9556 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.077e-05/0.6258, allocations: 8.422 kB / 0.9556 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.6259, allocations: 169.2 kB / 0.9557 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.6259, allocations: 7.016 kB / 0.9558 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.6259, allocations: 8.031 kB / 0.9558 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.632e-05/0.626, allocations: 35.78 kB / 0.9558 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.6261, allocations: 0 / 0.9558 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.6261, allocations: 5.156 kB / 0.9558 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.6261, allocations: 0 / 0.9558 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.529e-05/0.6261, allocations: 17.42 kB / 0.9558 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/0.6265, allocations: 292.4 kB / 0.9561 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.567e-05/0.6266, allocations: 24.39 kB / 0.9561 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/0.6266, allocations: 1.188 kB / 0.9561 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/0.6268, allocations: 66.42 kB / 0.9562 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.6268, allocations: 0 / 0.9562 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.000207/0.627, allocations: 79.33 kB / 0.9563 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.627, allocations: 52.62 kB / 0.9563 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.279e-05/0.6271, allocations: 106.4 kB / 0.9564 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.6271, allocations: 36 kB / 0.9564 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.01e-05/0.6272, allocations: 87.22 kB / 0.9565 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.36e-05/0.6272, allocations: 10.03 kB / 0.9565 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.133e-05/0.6272, allocations: 5.125 kB / 0.9565 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.082e-05/0.6273, allocations: 315.9 kB / 0.9568 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.046e-05/0.6273, allocations: 31.98 kB / 0.9569 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.352e-05/0.6274, allocations: 48.95 kB / 0.9569 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.946e-05/0.6275, allocations: 61.5 kB / 0.957 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.6275, allocations: 0.9062 kB / 0.957 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002573/0.6278, allocations: 152.9 kB / 0.9571 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.6278, allocations: 32.83 kB / 0.9572 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.6278, allocations: 0 / 0.9572 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.6278, allocations: 1.188 kB / 0.9572 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.515e-05/0.6279, allocations: 7.547 kB / 0.9572 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.6279, allocations: 3.984 kB / 0.9572 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.6282, allocations: 50 kB / 0.9572 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.6282, allocations: 5.375 kB / 0.9572 GB, free: 4.77 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booToInt.y,$PRE.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.442e-05/0.6283, allocations: 110.3 kB / 0.9573 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.16e-05/0.6283, allocations: 2.188 kB / 0.9573 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.728e-05/0.6283, allocations: 12.95 kB / 0.9573 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.6283, allocations: 0.9375 kB / 0.9573 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.6283, allocations: 3.953 kB / 0.9573 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.6283, allocations: 5.125 kB / 0.9574 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.955e-05/0.6284, allocations: 160.5 kB / 0.9575 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.6284, allocations: 0 / 0.9575 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.918e-05/0.6285, allocations: 2.188 kB / 0.9575 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.6285, allocations: 5.031 kB / 0.9575 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.6285, allocations: 4.234 kB / 0.9575 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.6285, allocations: 1.594 kB / 0.9575 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.6285, allocations: 0 / 0.9575 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.968e-05/0.6286, allocations: 96.72 kB / 0.9576 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.6286, allocations: 83.16 kB / 0.9577 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.6286, allocations: 1.031 kB / 0.9577 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.534e-05/0.6287, allocations: 4 kB / 0.9577 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.639e-05/0.6287, allocations: 1.906 kB / 0.9577 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.6287, allocations: 2.062 kB / 0.9577 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.753e-05/0.6287, allocations: 88.2 kB / 0.9578 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6287, allocations: 0 / 0.9578 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002182/0.629, allocations: 19.3 kB / 0.9578 GB, free: 4.141 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booToInt.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000146/0.6291, allocations: 106.3 kB / 0.9579 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002108/0.6293, allocations: 130.2 kB / 0.958 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6293, allocations: 0 / 0.958 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.511e-05/0.6294, allocations: 17.12 kB / 0.958 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.6296, allocations: 4.219 kB / 0.958 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002992/0.6299, allocations: 136 kB / 0.9582 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.63, allocations: 0.6885 MB / 0.9588 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.327e-05/0.63, allocations: 2.406 kB / 0.9589 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.491e-05/0.6301, allocations: 8.531 kB / 0.9589 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of SimCode: time 3.81e-07/0.6301, allocations: 1.125 kB / 0.9589 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of Templates: time 0.003334/0.6334, allocations: 0.9827 MB / 0.9598 GB, free: 2.586 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches