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: "" <> 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.001556/0.001556, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002067/0.002067, allocations: 194.4 kB / 16.14 MB, free: 6.645 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.327/1.327, allocations: 222.9 MB / 239.8 MB, free: 4.523 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.178/2.178, allocations: 390.2 MB / 0.6643 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 59.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6269/0.6285, allocations: 140.4 MB / 0.9491 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.00197/0.6305, allocations: 0.6668 MB / 0.9497 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.6318, allocations: 1.117 MB / 0.9508 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.627e-05/0.6318, allocations: 1.375 kB / 0.9508 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.032e-05/0.6319, allocations: 0 / 0.9508 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.213e-05/0.632, allocations: 13.3 kB / 0.9508 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.6324, allocations: 112.5 kB / 0.9509 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.84e-05/0.6325, allocations: 80.08 kB / 0.951 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.417e-05/0.6325, allocations: 7.25 kB / 0.951 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.355e-05/0.6326, allocations: 33.08 kB / 0.951 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.145e-05/0.6327, allocations: 26.47 kB / 0.9511 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.6327, allocations: 5.188 kB / 0.9511 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.233e-05/0.6328, allocations: 14.23 kB / 0.9511 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.6328, allocations: 9.562 kB / 0.9511 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.413e-05/0.6329, allocations: 25.62 kB / 0.9511 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.633, allocations: 79.83 kB / 0.9512 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.633, allocations: 1.406 kB / 0.9512 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.894e-06/0.633, allocations: 3.984 kB / 0.9512 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.633, allocations: 0 / 0.9512 GB, free: 7.465 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.0003597/0.6334, allocations: 386.4 kB / 0.9516 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.6334, allocations: 9.844 kB / 0.9516 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.415e-05/0.6334, allocations: 32 kB / 0.9516 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/0.6335, allocations: 12.59 kB / 0.9516 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.463e-05/0.6336, allocations: 169.6 kB / 0.9518 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.6336, allocations: 8 kB / 0.9518 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.6336, allocations: 8.797 kB / 0.9518 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.729e-05/0.6337, allocations: 35.27 kB / 0.9518 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.6337, allocations: 5.219 kB / 0.9518 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.6337, allocations: 3.984 kB / 0.9518 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.6337, allocations: 1.188 kB / 0.9518 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.449e-05/0.6338, allocations: 5.156 kB / 0.9518 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003077/0.6341, allocations: 295.4 kB / 0.9521 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.364e-05/0.6341, allocations: 33.52 kB / 0.9522 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.071e-05/0.6342, allocations: 8.641 kB / 0.9522 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.6342, allocations: 0 / 0.9522 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001308/0.6343, allocations: 62.98 kB / 0.9522 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.6343, allocations: 1.406 kB / 0.9522 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001732/0.6345, allocations: 71.38 kB / 0.9523 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.6345, allocations: 59.39 kB / 0.9523 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.945e-05/0.6346, allocations: 108.2 kB / 0.9524 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.6346, allocations: 27.05 kB / 0.9525 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.6347, allocations: 86.86 kB / 0.9526 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.095e-05/0.6347, allocations: 5.156 kB / 0.9526 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-05/0.6347, allocations: 30.14 kB / 0.9526 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.751e-05/0.6348, allocations: 320.1 kB / 0.9529 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.193e-05/0.6349, allocations: 28.92 kB / 0.9529 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.173e-05/0.635, allocations: 52.53 kB / 0.953 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.6351, allocations: 90.14 kB / 0.9531 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6351, allocations: 0 / 0.9531 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002264/0.6353, allocations: 149.1 kB / 0.9532 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.6353, allocations: 41.34 kB / 0.9532 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.6354, allocations: 4.062 kB / 0.9532 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.6354, allocations: 1.594 kB / 0.9532 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.689e-05/0.6354, allocations: 3.234 kB / 0.9533 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.6354, allocations: 3.938 kB / 0.9533 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.6356, allocations: 37.38 kB / 0.9533 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.6357, allocations: 8.141 kB / 0.9533 GB, free: 5.32 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 5.91e-05/0.6357, allocations: 123.4 kB / 0.9534 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.167e-05/0.6357, allocations: 13.23 kB / 0.9534 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.116e-05/0.6358, allocations: 9.344 kB / 0.9534 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.6358, allocations: 0 / 0.9534 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.6358, allocations: 1.375 kB / 0.9534 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.6358, allocations: 0 / 0.9534 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.317e-05/0.6359, allocations: 168.6 kB / 0.9536 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.6359, allocations: 0 / 0.9536 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.757e-05/0.6359, allocations: 3.031 kB / 0.9536 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.6359, allocations: 0 / 0.9536 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.6359, allocations: 1.125 kB / 0.9536 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6359, allocations: 4 kB / 0.9536 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.6359, allocations: 1.344 kB / 0.9536 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.173e-05/0.636, allocations: 92.61 kB / 0.9537 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.812e-05/0.636, allocations: 82.77 kB / 0.9538 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.6361, allocations: 1.5 kB / 0.9538 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.401e-05/0.6361, allocations: 0 / 0.9538 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.337e-05/0.6361, allocations: 5.328 kB / 0.9538 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.6361, allocations: 2 kB / 0.9538 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.694e-05/0.6361, allocations: 93.31 kB / 0.9539 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6361, allocations: 0 / 0.9539 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002064/0.6364, allocations: 15.53 kB / 0.9539 GB, free: 4.68 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.0002683/0.6366, allocations: 0.6208 MB / 0.9545 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001919/0.6368, allocations: 134.6 kB / 0.9546 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.6368, allocations: 0 / 0.9546 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.118e-05/0.6369, allocations: 13.12 kB / 0.9546 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001839/0.6371, allocations: 4.594 kB / 0.9546 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.6381, allocations: 1.399 MB / 0.956 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.823e-05/0.6382, allocations: 0.68 MB / 0.9567 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.888e-05/0.6383, allocations: 1.875 kB / 0.9567 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.625e-05/0.6383, allocations: 18.41 kB / 0.9567 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of SimCode: time 2.9e-07/0.6383, allocations: 0 / 0.9567 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.012/1.65, allocations: 1.837 MB / 0.9585 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/1.65, allocations: 221 kB / 0.9587 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.817/3.467, allocations: 2.5 kB / 0.9587 GB, free: 0.75 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 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.mat","/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