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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_9_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.001451/0.001451, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.436/1.436, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.478/2.478, allocations: 390.2 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 75.88 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7888/0.7903, allocations: 140.4 MB / 0.9497 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001972/0.7923, allocations: 0.5917 MB / 0.9503 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001468/0.7938, allocations: 1.116 MB / 0.9514 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.877e-05/0.7939, allocations: 1.375 kB / 0.9514 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.244e-05/0.7939, allocations: 0 / 0.9514 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.257e-05/0.794, allocations: 9.297 kB / 0.9514 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000473/0.7945, allocations: 117.5 kB / 0.9515 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.7947, allocations: 94.2 kB / 0.9516 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.7948, allocations: 3.594 kB / 0.9516 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.76e-05/0.7949, allocations: 48.62 kB / 0.9517 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.514e-05/0.795, allocations: 31.02 kB / 0.9517 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.795, allocations: 7.781 kB / 0.9517 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.109e-05/0.7951, allocations: 25.92 kB / 0.9517 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.7951, allocations: 1.938 kB / 0.9517 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.32e-05/0.7952, allocations: 29.3 kB / 0.9517 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.7953, allocations: 83.66 kB / 0.9518 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.7953, allocations: 1.469 kB / 0.9518 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7953, allocations: 0 / 0.9518 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.7954, allocations: 0 / 0.9518 GB, free: 7.508 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.0004444/0.7958, allocations: 384.8 kB / 0.9522 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.7959, allocations: 9.312 kB / 0.9522 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.385e-05/0.7959, allocations: 36.12 kB / 0.9522 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.7959, allocations: 11.88 kB / 0.9523 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.624e-05/0.796, allocations: 166.8 kB / 0.9524 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.7961, allocations: 11.08 kB / 0.9524 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.7961, allocations: 9.188 kB / 0.9524 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.565e-05/0.7962, allocations: 36.06 kB / 0.9525 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.7962, allocations: 3.938 kB / 0.9525 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.7962, allocations: 4 kB / 0.9525 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.7962, allocations: 1.375 kB / 0.9525 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.102e-05/0.7963, allocations: 9.297 kB / 0.9525 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003189/0.7966, allocations: 291.7 kB / 0.9528 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.031e-05/0.7967, allocations: 37.19 kB / 0.9528 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.318e-05/0.7967, allocations: 12.64 kB / 0.9528 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.7967, allocations: 0 / 0.9528 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.7969, allocations: 64.61 kB / 0.9529 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.7969, allocations: 4 kB / 0.9529 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001761/0.7971, allocations: 66.59 kB / 0.9529 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.7971, allocations: 56.69 kB / 0.953 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.199e-05/0.7972, allocations: 107.2 kB / 0.9531 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.7972, allocations: 26.98 kB / 0.9531 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.638e-05/0.7972, allocations: 92.25 kB / 0.9532 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.109e-05/0.7973, allocations: 5.5 kB / 0.9532 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.887e-05/0.7973, allocations: 29.58 kB / 0.9532 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.222e-05/0.7974, allocations: 320.2 kB / 0.9535 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.575e-05/0.7974, allocations: 27.86 kB / 0.9536 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.136e-05/0.7975, allocations: 52.8 kB / 0.9536 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.459e-05/0.7976, allocations: 89.52 kB / 0.9537 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.7976, allocations: 1.344 kB / 0.9537 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002254/0.7979, allocations: 152.9 kB / 0.9539 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/0.7979, allocations: 36.42 kB / 0.9539 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.7979, allocations: 5.25 kB / 0.9539 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.7979, allocations: 1.312 kB / 0.9539 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.208e-05/0.798, allocations: 5.391 kB / 0.9539 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.798, allocations: 1.281 kB / 0.9539 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.7982, allocations: 29.03 kB / 0.9539 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.7982, allocations: 4.938 kB / 0.9539 GB, free: 5.367 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,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 6.854e-05/0.7983, allocations: 126.9 kB / 0.9541 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.7983, allocations: 5.406 kB / 0.9541 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.663e-05/0.7984, allocations: 5.438 kB / 0.9541 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.7984, allocations: 7.938 kB / 0.9541 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.7984, allocations: 1.438 kB / 0.9541 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.7984, allocations: 0 / 0.9541 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.591e-05/0.7985, allocations: 172.8 kB / 0.9542 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.7985, allocations: 0 / 0.9542 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.63e-05/0.7985, allocations: 1.906 kB / 0.9542 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.7985, allocations: 5.562 kB / 0.9542 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.7985, allocations: 3.938 kB / 0.9543 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.7985, allocations: 0 / 0.9543 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.7986, allocations: 1.625 kB / 0.9543 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.7987, allocations: 89.2 kB / 0.9543 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.982e-05/0.7987, allocations: 82.48 kB / 0.9544 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.7987, allocations: 5.281 kB / 0.9544 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.431e-05/0.7987, allocations: 0 / 0.9544 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.173e-05/0.7988, allocations: 6.094 kB / 0.9544 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-06/0.7988, allocations: 1.188 kB / 0.9544 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.706e-05/0.7988, allocations: 93.2 kB / 0.9545 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7988, allocations: 0 / 0.9545 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002095/0.799, allocations: 15.75 kB / 0.9545 GB, free: 4.719 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 (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.0003003/0.7993, allocations: 0.6251 MB / 0.9551 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002191/0.7995, allocations: 126.1 kB / 0.9553 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.7996, allocations: 0 / 0.9553 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.695e-05/0.7996, allocations: 17.7 kB / 0.9553 GB, free: 4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.7998, allocations: 11.22 kB / 0.9553 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.8011, allocations: 1.388 MB / 0.9566 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.8012, allocations: 0.6839 MB / 0.9573 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.001e-05/0.8012, allocations: 6.203 kB / 0.9573 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.721e-05/0.8012, allocations: 13.84 kB / 0.9573 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.8012, allocations: 0 / 0.9573 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02046/0.8217, allocations: 1.98 MB / 0.9593 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.553/8.375, allocations: 18.72 kB / 0.9593 GB, free: 0.8906 MB / 0.7169 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches