Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001267/0.001267, allocations: 111.5 kB / 16.46 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.001307/0.001307, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.454/1.454, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.146/3.146, allocations: 497.2 MB / 0.7811 GB, free: 33.71 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 66.11 kB / 1.134 GB, free: 33.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3811, allocations: 173.9 MB / 1.304 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002035/0.3831, allocations: 0.5983 MB / 1.305 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.3847, allocations: 1.124 MB / 1.306 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.216e-05/0.3847, allocations: 4 kB / 1.306 GB, free: 15.81 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.897e-05/0.3848, allocations: 3.938 kB / 1.306 GB, free: 15.81 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.97e-05/0.3848, allocations: 11.92 kB / 1.306 GB, free: 15.8 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005285/0.3854, allocations: 119.4 kB / 1.306 GB, free: 15.68 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.3855, allocations: 87.83 kB / 1.306 GB, free: 15.6 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.875e-05/0.3856, allocations: 7.984 kB / 1.306 GB, free: 15.59 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.381e-05/0.3857, allocations: 35.91 kB / 1.306 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.3858, allocations: 35.89 kB / 1.306 GB, free: 15.52 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.3859, allocations: 11.94 kB / 1.306 GB, free: 15.51 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.9e-05/0.3859, allocations: 23.98 kB / 1.306 GB, free: 15.48 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.3859, allocations: 4 kB / 1.306 GB, free: 15.48 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.092e-05/0.386, allocations: 31.91 kB / 1.306 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.3862, allocations: 88 kB / 1.306 GB, free: 15.36 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.3862, allocations: 0 / 1.306 GB, free: 15.36 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3862, allocations: 0 / 1.306 GB, free: 15.36 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.3862, allocations: 0 / 1.306 GB, free: 15.36 MB / 1.014 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.0005589/0.3868, allocations: 381 kB / 1.306 GB, free: 14.93 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.3868, allocations: 12.62 kB / 1.306 GB, free: 14.92 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.493e-05/0.3868, allocations: 38.75 kB / 1.306 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.807e-05/0.3869, allocations: 4.938 kB / 1.306 GB, free: 14.87 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.387, allocations: 168.3 kB / 1.307 GB, free: 14.67 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.387, allocations: 4.375 kB / 1.307 GB, free: 14.66 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.387, allocations: 4.375 kB / 1.307 GB, free: 14.66 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.3871, allocations: 42.25 kB / 1.307 GB, free: 14.61 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.3872, allocations: 3.938 kB / 1.307 GB, free: 14.61 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.3872, allocations: 0 / 1.307 GB, free: 14.61 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.3872, allocations: 3.984 kB / 1.307 GB, free: 14.61 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.883e-05/0.3872, allocations: 8 kB / 1.307 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004146/0.3876, allocations: 292.8 kB / 1.307 GB, free: 14.26 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.152e-05/0.3877, allocations: 30.5 kB / 1.307 GB, free: 14.22 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.08e-05/0.3877, allocations: 12.86 kB / 1.307 GB, free: 14.21 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.3877, allocations: 0 / 1.307 GB, free: 14.21 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.3879, allocations: 71.31 kB / 1.307 GB, free: 14.12 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.3879, allocations: 4 kB / 1.307 GB, free: 14.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0002072/0.3881, allocations: 73.64 kB / 1.307 GB, free: 14.04 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.3882, allocations: 55.39 kB / 1.307 GB, free: 13.98 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.3883, allocations: 105.8 kB / 1.307 GB, free: 13.86 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.3883, allocations: 33.7 kB / 1.307 GB, free: 13.82 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.715e-05/0.3884, allocations: 84.14 kB / 1.307 GB, free: 13.74 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.18e-05/0.3884, allocations: 3.953 kB / 1.307 GB, free: 13.73 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/0.3884, allocations: 33.7 kB / 1.307 GB, free: 13.7 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3886, allocations: 314.8 kB / 1.308 GB, free: 13.38 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.992e-05/0.3887, allocations: 35.97 kB / 1.308 GB, free: 13.34 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.428e-05/0.3887, allocations: 50.5 kB / 1.308 GB, free: 13.29 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.3889, allocations: 92.19 kB / 1.308 GB, free: 13.18 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3889, allocations: 0 / 1.308 GB, free: 13.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002732/0.3892, allocations: 155.2 kB / 1.308 GB, free: 13.02 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.911e-05/0.3892, allocations: 37.69 kB / 1.308 GB, free: 12.97 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3892, allocations: 0 / 1.308 GB, free: 12.97 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.3892, allocations: 7.938 kB / 1.308 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.769e-05/0.3893, allocations: 0 / 1.308 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.3893, allocations: 7.938 kB / 1.308 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.3895, allocations: 23.97 kB / 1.308 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.3895, allocations: 8.391 kB / 1.308 GB, free: 12.93 MB / 1.014 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.0001047/0.3896, allocations: 125.5 kB / 1.308 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.3896, allocations: 11.94 kB / 1.308 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.984e-05/0.3897, allocations: 7.906 kB / 1.308 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3897, allocations: 0 / 1.308 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3897, allocations: 0 / 1.308 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3897, allocations: 0 / 1.308 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.3898, allocations: 165.6 kB / 1.308 GB, free: 12.56 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3898, allocations: 0 / 1.308 GB, free: 12.56 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.727e-05/0.3899, allocations: 4 kB / 1.308 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3899, allocations: 4 kB / 1.308 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.3899, allocations: 4 kB / 1.308 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.3899, allocations: 8 kB / 1.308 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3899, allocations: 0 / 1.308 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.39, allocations: 92.98 kB / 1.309 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.051e-05/0.3901, allocations: 85 kB / 1.309 GB, free: 12.33 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.3901, allocations: 0 / 1.309 GB, free: 12.33 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.418e-05/0.3901, allocations: 0 / 1.309 GB, free: 12.33 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.3901, allocations: 8 kB / 1.309 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.3901, allocations: 0 / 1.309 GB, free: 12.32 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.18e-05/0.3902, allocations: 91.25 kB / 1.309 GB, free: 12.23 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3902, allocations: 4 kB / 1.309 GB, free: 12.23 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002147/0.3904, allocations: 12 kB / 1.309 GB, free: 12.21 MB / 1.014 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.0004678/0.3909, allocations: 0.628 MB / 1.309 GB, free: 11.56 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002269/0.3911, allocations: 115.4 kB / 1.309 GB, free: 11.43 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3911, allocations: 0 / 1.309 GB, free: 11.43 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.512e-05/0.3912, allocations: 15.92 kB / 1.31 GB, free: 11.42 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.3914, allocations: 11.44 kB / 1.31 GB, free: 11.41 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.3929, allocations: 1.393 MB / 1.311 GB, free: 9.914 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.3932, allocations: 0.6807 MB / 1.312 GB, free: 9.207 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.015e-05/0.3932, allocations: 0 / 1.312 GB, free: 9.207 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.837e-05/0.3933, allocations: 15.44 kB / 1.312 GB, free: 9.191 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.3933, allocations: 0 / 1.312 GB, free: 9.191 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02476/0.418, allocations: 2.03 MB / 1.314 GB, free: 7.32 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.154/8.572, allocations: 11.36 kB / 1.314 GB, free: 7.312 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.29060757998377]