Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.0007648/0.0007648, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000821/0.000821, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 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 0.8767/0.8767, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.76/1.76, allocations: 377.9 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.9809 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.473e-05/1.665e-05, allocations: 6.219 kB / 0.9809 GB, free: 2.609 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001082/0.001099, allocations: 0.6063 MB / 0.9815 GB, free: 2.004 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009839/0.002083, allocations: 1.123 MB / 0.9826 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.363e-05/0.002116, allocations: 0 / 0.9826 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.687e-05/0.002143, allocations: 3.938 kB / 0.9826 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.708e-05/0.0022, allocations: 7.938 kB / 0.9826 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003597/0.00256, allocations: 128.4 kB / 0.9828 GB, free: 0.7344 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.00268, allocations: 91.83 kB / 0.9829 GB, free: 0.6445 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.155e-05/0.002761, allocations: 8 kB / 0.9829 GB, free: 0.6367 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.314e-05/0.002834, allocations: 47.94 kB / 0.9829 GB, free: 0.5898 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 7.46e-05/0.002909, allocations: 31.91 kB / 0.9829 GB, free: 0.5586 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.002928, allocations: 8 kB / 0.9829 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 4.871e-05/0.002976, allocations: 15.98 kB / 0.983 GB, free: 0.5352 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.002995, allocations: 8 kB / 0.983 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.87e-05/0.003033, allocations: 23.97 kB / 0.983 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.003168, allocations: 107.6 kB / 0.9831 GB, free: 408 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.00317, allocations: 0 / 0.9831 GB, free: 408 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.824e-06/0.003171, allocations: 3.984 kB / 0.9831 GB, free: 404 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.003175, allocations: 4 kB / 0.9831 GB, free: 400 kB / 0.9323 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.0003392/0.003514, allocations: 303.9 kB / 0.9834 GB, free: 56 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.003547, allocations: 8.031 kB / 0.9834 GB, free: 48 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.3e-05/0.00357, allocations: 34.75 kB / 0.9834 GB, free: 4 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.003599, allocations: 4.938 kB / 0.9834 GB, free: 0 / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.305e-05/0.003672, allocations: 105.8 kB / 0.9835 GB, free: 15.87 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.003689, allocations: 8.375 kB / 0.9835 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.003702, allocations: 8.375 kB / 0.9836 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.953e-05/0.003772, allocations: 38.25 kB / 0.9836 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.003779, allocations: 192 / 0.9836 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.003786, allocations: 384 / 0.9836 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.003792, allocations: 16.05 kB / 0.9836 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.3e-05/0.003825, allocations: 11.94 kB / 0.9836 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002934/0.004118, allocations: 248 kB / 0.9839 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.887e-05/0.004167, allocations: 26.56 kB / 0.9839 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.938e-05/0.004187, allocations: 16.92 kB / 0.9839 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-06/0.004194, allocations: 0 / 0.9839 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001104/0.004304, allocations: 71.25 kB / 0.984 GB, free: 15.36 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.004305, allocations: 0 / 0.984 GB, free: 15.36 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0001571/0.004462, allocations: 77.58 kB / 0.984 GB, free: 15.28 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.004495, allocations: 59.39 kB / 0.9841 GB, free: 15.21 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.95e-05/0.004555, allocations: 101.9 kB / 0.9842 GB, free: 15.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.004572, allocations: 33.69 kB / 0.9842 GB, free: 15.06 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.951e-05/0.004611, allocations: 84.14 kB / 0.9843 GB, free: 14.98 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.476e-06/0.00462, allocations: 7.953 kB / 0.9843 GB, free: 14.97 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.004661, allocations: 29.7 kB / 0.9843 GB, free: 14.93 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.541e-05/0.004737, allocations: 314.8 kB / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.879e-05/0.004806, allocations: 65.67 kB / 0.9847 GB, free: 14.55 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.543e-05/0.004871, allocations: 80.39 kB / 0.9848 GB, free: 14.45 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.482e-05/0.004946, allocations: 88.27 kB / 0.9849 GB, free: 14.35 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.004948, allocations: 0 / 0.9849 GB, free: 14.35 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001761/0.005125, allocations: 188.9 kB / 0.985 GB, free: 14.15 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.005151, allocations: 33.7 kB / 0.9851 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.005157, allocations: 4.047 kB / 0.9851 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.005169, allocations: 3.984 kB / 0.9851 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.998e-05/0.005219, allocations: 11.92 kB / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.005224, allocations: 0 / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.00535, allocations: 28.03 kB / 0.9851 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.005364, allocations: 4 kB / 0.9851 GB, free: 14.06 MB / 0.948 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.285e-05/0.005426, allocations: 113.8 kB / 0.9852 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.042e-06/0.005433, allocations: 7.938 kB / 0.9852 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.243e-05/0.005455, allocations: 7.984 kB / 0.9852 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.005457, allocations: 0 / 0.9852 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.005461, allocations: 4 kB / 0.9853 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.005465, allocations: 0 / 0.9853 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.828e-05/0.005544, allocations: 136.8 kB / 0.9854 GB, free: 13.74 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.005545, allocations: 0 / 0.9854 GB, free: 13.74 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.748e-06/0.005554, allocations: 7.938 kB / 0.9854 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-07/0.005555, allocations: 0 / 0.9854 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.005563, allocations: 7.938 kB / 0.9854 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.005563, allocations: 0 / 0.9854 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.005564, allocations: 0 / 0.9854 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.955e-05/0.005644, allocations: 89 kB / 0.9855 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.294e-06/0.005651, allocations: 7.938 kB / 0.9855 GB, free: 13.61 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.337e-06/0.00566, allocations: 3.938 kB / 0.9855 GB, free: 13.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-06/0.005668, allocations: 0 / 0.9855 GB, free: 13.61 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.481e-05/0.005693, allocations: 11.98 kB / 0.9855 GB, free: 13.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.005696, allocations: 0 / 0.9855 GB, free: 13.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.956e-05/0.005726, allocations: 87.66 kB / 0.9856 GB, free: 13.51 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005726, allocations: 0 / 0.9856 GB, free: 13.51 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001428/0.005869, allocations: 23.94 kB / 0.9856 GB, free: 13.49 MB / 0.948 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.0004424/0.006311, allocations: 0.628 MB / 0.9862 GB, free: 12.83 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001596/0.006471, allocations: 141.1 kB / 0.9864 GB, free: 12.67 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.006472, allocations: 0 / 0.9864 GB, free: 12.67 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.277e-05/0.006495, allocations: 19.92 kB / 0.9864 GB, free: 12.65 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.006638, allocations: 7.984 kB / 0.9864 GB, free: 12.64 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009761/0.007614, allocations: 1.512 MB / 0.9879 GB, free: 11 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.412e-05/0.007648, allocations: 63.34 kB / 0.9879 GB, free: 10.92 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.794e-05/0.007666, allocations: 256 / 0.9879 GB, free: 10.92 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.007697, allocations: 16.5 kB / 0.9879 GB, free: 10.91 MB / 0.948 GB Notification: Performance of SimCode: time 7.41e-07/0.007698, allocations: 0 / 0.9879 GB, free: 10.91 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01551/0.02321, allocations: 2.774 MB / 0.9906 GB, free: 8.305 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.918/6.941, allocations: 16.42 kB / 0.9907 GB, free: 8.293 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.csv --start-time 0 --stop-time 4 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_12_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable booToInt.u in file Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.csv. Warning: Get data of variable booToInt.u from file Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.054576121270657]