Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 104.7 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001862/0.001862, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.742/2.742, allocations: 476.7 MB / 0.7611 GB, free: 11.33 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 67.89 kB / 1.104 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8778/0.8797, allocations: 168.7 MB / 1.269 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002195/0.8819, allocations: 0.5964 MB / 1.269 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001937/0.8838, allocations: 1.112 MB / 1.27 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.978e-05/0.8839, allocations: 0 / 1.27 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.578e-05/0.8839, allocations: 7.922 kB / 1.27 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.8841, allocations: 7.938 kB / 1.27 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006603/0.8847, allocations: 127.1 kB / 1.271 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.8849, allocations: 83.89 kB / 1.271 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.8851, allocations: 11.98 kB / 1.271 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.411e-05/0.8852, allocations: 35.91 kB / 1.271 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.8853, allocations: 35.83 kB / 1.271 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.8853, allocations: 8 kB / 1.271 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.524e-05/0.8854, allocations: 31.91 kB / 1.271 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.8854, allocations: 4 kB / 1.271 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.904e-05/0.8855, allocations: 27.92 kB / 1.271 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.8857, allocations: 89.55 kB / 1.271 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.8857, allocations: 0 / 1.271 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8857, allocations: 3.938 kB / 1.271 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.291e-06/0.8857, allocations: 4 kB / 1.271 GB, free: 3.008 MB / 0.9669 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.0005876/0.8863, allocations: 383.1 kB / 1.271 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.8864, allocations: 8.031 kB / 1.271 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.348e-05/0.8864, allocations: 34.73 kB / 1.271 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.054e-05/0.8864, allocations: 8.875 kB / 1.271 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.8866, allocations: 168.3 kB / 1.271 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.8866, allocations: 4.375 kB / 1.271 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.8866, allocations: 4.375 kB / 1.271 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.8868, allocations: 46.17 kB / 1.271 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.8868, allocations: 7.938 kB / 1.271 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.8868, allocations: 0 / 1.271 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.8868, allocations: 4 kB / 1.272 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.181e-05/0.8868, allocations: 11.98 kB / 1.272 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004567/0.8873, allocations: 284.9 kB / 1.272 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.064e-05/0.8873, allocations: 30.5 kB / 1.272 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.785e-05/0.8874, allocations: 12.92 kB / 1.272 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.8874, allocations: 3.938 kB / 1.272 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/0.8876, allocations: 68.92 kB / 1.272 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.8876, allocations: 0 / 1.272 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002093/0.8878, allocations: 69.64 kB / 1.272 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/0.8878, allocations: 51.41 kB / 1.272 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.888, allocations: 110 kB / 1.272 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.888, allocations: 33.7 kB / 1.272 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.331e-05/0.8881, allocations: 88.12 kB / 1.272 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.8881, allocations: 15.89 kB / 1.272 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.546e-05/0.8881, allocations: 29.7 kB / 1.272 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.8883, allocations: 310.8 kB / 1.273 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.988e-05/0.8884, allocations: 31.98 kB / 1.273 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.8885, allocations: 58.61 kB / 1.273 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.8886, allocations: 88.14 kB / 1.273 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8886, allocations: 0 / 1.273 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002805/0.8889, allocations: 155.2 kB / 1.273 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.614e-05/0.8889, allocations: 33.7 kB / 1.273 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.889, allocations: 4.062 kB / 1.273 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.889, allocations: 0 / 1.273 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.248e-05/0.889, allocations: 4 kB / 1.273 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.889, allocations: 8.047 kB / 1.273 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.8892, allocations: 27.97 kB / 1.273 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.8893, allocations: 8 kB / 1.273 GB, free: 0.5703 MB / 0.9669 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 0.0001445/0.8894, allocations: 125.7 kB / 1.273 GB, free: 448 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.021e-05/0.8894, allocations: 0 / 1.273 GB, free: 448 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.538e-05/0.8895, allocations: 11.89 kB / 1.273 GB, free: 424 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.8895, allocations: 0 / 1.273 GB, free: 424 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.8895, allocations: 4 kB / 1.273 GB, free: 420 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.8895, allocations: 0 / 1.273 GB, free: 420 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.8896, allocations: 165.6 kB / 1.273 GB, free: 204 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.8896, allocations: 0 / 1.273 GB, free: 204 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.915e-05/0.8897, allocations: 7.922 kB / 1.273 GB, free: 196 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.8897, allocations: 4 kB / 1.273 GB, free: 192 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.8897, allocations: 0 / 1.273 GB, free: 192 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.8897, allocations: 0 / 1.273 GB, free: 192 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.8897, allocations: 0 / 1.273 GB, free: 192 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.8898, allocations: 89.02 kB / 1.273 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-05/0.8899, allocations: 77.39 kB / 1.273 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.8899, allocations: 7.984 kB / 1.273 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.361e-05/0.8899, allocations: 0 / 1.273 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.8899, allocations: 0 / 1.273 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.89, allocations: 11.98 kB / 1.273 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.463e-05/0.89, allocations: 83.27 kB / 1.274 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.89, allocations: 0 / 1.274 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002142/0.8902, allocations: 20 kB / 1.274 GB, free: 15.87 MB / 0.9825 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.0005534/0.8908, allocations: 0.6323 MB / 1.274 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002443/0.891, allocations: 115.3 kB / 1.274 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.891, allocations: 0 / 1.274 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.096e-05/0.8911, allocations: 11.98 kB / 1.274 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.8913, allocations: 16.11 kB / 1.274 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.8929, allocations: 1.389 MB / 1.276 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.8933, allocations: 0.6807 MB / 1.276 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.518e-05/0.8933, allocations: 3.984 kB / 1.276 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.285e-05/0.8933, allocations: 19.38 kB / 1.276 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.8933, allocations: 4.094 kB / 1.276 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02599/0.9193, allocations: 2.025 MB / 1.278 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.93/8.85, allocations: 11.31 kB / 1.278 GB, free: 10.95 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.880723119713366]