Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008555/0.008554, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.002052/0.002052, allocations: 198.6 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.605/2.605, allocations: 437.1 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 63.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2588, allocations: 151.6 MB / 1.166 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.00188/0.2608, allocations: 0.5991 MB / 1.167 GB, free: 6.711 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.2622, allocations: 1.125 MB / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.672e-05/0.2623, allocations: 0 / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.579e-05/0.2624, allocations: 0 / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.189e-05/0.2624, allocations: 7.922 kB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004935/0.2629, allocations: 127.6 kB / 1.168 GB, free: 5.441 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.2631, allocations: 95.88 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.312e-05/0.2632, allocations: 7.938 kB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.218e-05/0.2633, allocations: 35.91 kB / 1.168 GB, free: 5.305 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.146e-05/0.2634, allocations: 31.95 kB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.2634, allocations: 12 kB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.632e-05/0.2635, allocations: 19.98 kB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.2635, allocations: 11.92 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.39e-05/0.2636, allocations: 27.92 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.2637, allocations: 88 kB / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.2637, allocations: 0 / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2637, allocations: 0 / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.2637, allocations: 0 / 1.168 GB, free: 5.117 MB / 0.92 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.0004118/0.2642, allocations: 381 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.2642, allocations: 8.031 kB / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.176e-05/0.2643, allocations: 38.75 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.253e-05/0.2643, allocations: 4.938 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.2645, allocations: 168.3 kB / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.2645, allocations: 4.375 kB / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.2645, allocations: 4.375 kB / 1.169 GB, free: 4.418 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.784e-05/0.2646, allocations: 38.25 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2646, allocations: 7.938 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.2646, allocations: 0 / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.2647, allocations: 3.984 kB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.972e-05/0.2647, allocations: 8 kB / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.2651, allocations: 304.8 kB / 1.169 GB, free: 4.008 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.75e-05/0.2652, allocations: 34.45 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.401e-05/0.2652, allocations: 12.84 kB / 1.169 GB, free: 3.949 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.966e-06/0.2652, allocations: 4.062 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.2654, allocations: 59.41 kB / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.2654, allocations: 3.938 kB / 1.169 GB, free: 3.871 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0001969/0.2656, allocations: 69.61 kB / 1.169 GB, free: 3.797 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.2657, allocations: 51.41 kB / 1.169 GB, free: 3.734 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.458e-05/0.2657, allocations: 121.8 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.2658, allocations: 25.7 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.233e-05/0.2659, allocations: 84.14 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/0.2659, allocations: 7.953 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-05/0.266, allocations: 37.62 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.2661, allocations: 322.8 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.994e-05/0.2661, allocations: 27.98 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.451e-05/0.2662, allocations: 50.55 kB / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.2664, allocations: 88.16 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2664, allocations: 0 / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000264/0.2666, allocations: 155.3 kB / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/0.2667, allocations: 33.7 kB / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.2667, allocations: 0 / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.2667, allocations: 4 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.692e-05/0.2668, allocations: 4 kB / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.2668, allocations: 4 kB / 1.17 GB, free: 2.711 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.267, allocations: 27.92 kB / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.267, allocations: 8.047 kB / 1.17 GB, free: 2.676 MB / 0.92 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,booPul.y,$PRE.booPul.y,booToInt.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 9.222e-05/0.2671, allocations: 125.7 kB / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.2671, allocations: 4 kB / 1.171 GB, free: 2.539 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.241e-05/0.2672, allocations: 3.906 kB / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2672, allocations: 0 / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.2672, allocations: 0 / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2672, allocations: 0 / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.2673, allocations: 169.6 kB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2673, allocations: 0 / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.942e-05/0.2673, allocations: 4 kB / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.2673, allocations: 4 kB / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.2674, allocations: 3.984 kB / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2674, allocations: 0 / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2674, allocations: 0 / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.2675, allocations: 85.02 kB / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.181e-05/0.2675, allocations: 85.05 kB / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.2675, allocations: 0 / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.758e-05/0.2676, allocations: 0 / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.2676, allocations: 19.92 kB / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.2676, allocations: 0 / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.588e-05/0.2676, allocations: 79.28 kB / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2676, allocations: 0 / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002198/0.2679, allocations: 27.92 kB / 1.171 GB, free: 1.973 MB / 0.92 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 (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.0003803/0.2683, allocations: 0.636 MB / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002075/0.2685, allocations: 127.3 kB / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2685, allocations: 0 / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.424e-05/0.2685, allocations: 16 kB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.2687, allocations: 11.98 kB / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.2701, allocations: 1.381 MB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.2703, allocations: 0.6807 MB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.101e-05/0.2703, allocations: 4 kB / 1.174 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.935e-05/0.2704, allocations: 15.42 kB / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of SimCode: time 2.71e-07/0.2704, allocations: 0 / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01775/0.2881, allocations: 2.013 MB / 1.176 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.216/7.504, allocations: 10.38 kB / 1.176 GB, free: 13.06 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches