Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001748/0.001748, allocations: 109.7 kB / 16.46 MB, free: 6.035 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.002105/0.002105, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.503/1.503, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.62/2.62, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 71.89 kB / 1.056 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8522/0.8541, allocations: 160.7 MB / 1.213 GB, free: 3.852 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001884/0.856, allocations: 0.6083 MB / 1.213 GB, free: 3.398 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001553/0.8576, allocations: 1.119 MB / 1.215 GB, free: 2.496 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.133e-05/0.8576, allocations: 0 / 1.215 GB, free: 2.496 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.869e-05/0.8577, allocations: 7.938 kB / 1.215 GB, free: 2.488 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.735e-05/0.8577, allocations: 6.156 kB / 1.215 GB, free: 2.484 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004629/0.8582, allocations: 119.6 kB / 1.215 GB, free: 2.406 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.8583, allocations: 90.45 kB / 1.215 GB, free: 2.355 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.695e-05/0.8584, allocations: 10.16 kB / 1.215 GB, free: 2.348 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.24e-05/0.8585, allocations: 32.36 kB / 1.215 GB, free: 2.332 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.478e-05/0.8586, allocations: 36.75 kB / 1.215 GB, free: 2.305 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.8586, allocations: 11.97 kB / 1.215 GB, free: 2.301 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.436e-05/0.8587, allocations: 26.58 kB / 1.215 GB, free: 2.289 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.893e-05/0.8587, allocations: 5.281 kB / 1.215 GB, free: 2.285 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.72e-05/0.8588, allocations: 29.78 kB / 1.215 GB, free: 2.266 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.8589, allocations: 93.67 kB / 1.215 GB, free: 2.195 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.8589, allocations: 0 / 1.215 GB, free: 2.195 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.212e-06/0.8589, allocations: 0 / 1.215 GB, free: 2.195 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.8589, allocations: 1.062 kB / 1.215 GB, free: 2.195 MB / 0.92 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.0005057/0.8594, allocations: 382.3 kB / 1.215 GB, free: 1.785 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.8595, allocations: 10.59 kB / 1.215 GB, free: 1.785 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.622e-05/0.8595, allocations: 34.69 kB / 1.215 GB, free: 1.742 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.8596, allocations: 9.188 kB / 1.215 GB, free: 1.738 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.8597, allocations: 170.6 kB / 1.216 GB, free: 1.535 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.8597, allocations: 3.125 kB / 1.216 GB, free: 1.535 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.8598, allocations: 4.969 kB / 1.216 GB, free: 1.535 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.8599, allocations: 43.62 kB / 1.216 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.8599, allocations: 5.094 kB / 1.216 GB, free: 1.488 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.8599, allocations: 0 / 1.216 GB, free: 1.488 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.8599, allocations: 1.156 kB / 1.216 GB, free: 1.488 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.189e-05/0.8599, allocations: 8.562 kB / 1.216 GB, free: 1.484 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/0.8604, allocations: 296 kB / 1.216 GB, free: 1.164 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.973e-05/0.8604, allocations: 36.44 kB / 1.216 GB, free: 1.125 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.884e-05/0.8605, allocations: 16.64 kB / 1.216 GB, free: 1.109 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.8605, allocations: 0 / 1.216 GB, free: 1.109 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/0.8606, allocations: 59.27 kB / 1.216 GB, free: 1.051 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.8606, allocations: 4 kB / 1.216 GB, free: 1.047 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0002194/0.8608, allocations: 68.14 kB / 1.216 GB, free: 1 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.8609, allocations: 56.47 kB / 1.216 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.881e-05/0.861, allocations: 114.6 kB / 1.216 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.861, allocations: 27.89 kB / 1.216 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.887e-05/0.8611, allocations: 82.48 kB / 1.216 GB, free: 0.707 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.8611, allocations: 13.61 kB / 1.216 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-05/0.8612, allocations: 29.7 kB / 1.216 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.8613, allocations: 320.5 kB / 1.217 GB, free: 360 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.823e-05/0.8614, allocations: 32.52 kB / 1.217 GB, free: 344 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.916e-05/0.8615, allocations: 48.31 kB / 1.217 GB, free: 304 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.8616, allocations: 90.2 kB / 1.217 GB, free: 220 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8616, allocations: 0 / 1.217 GB, free: 220 kB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000255/0.8618, allocations: 151.4 kB / 1.217 GB, free: 112 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.414e-05/0.8619, allocations: 36.78 kB / 1.217 GB, free: 76 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.8619, allocations: 1.25 kB / 1.217 GB, free: 76 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.8619, allocations: 1.188 kB / 1.217 GB, free: 76 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.995e-05/0.8619, allocations: 6.312 kB / 1.217 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.862, allocations: 1.062 kB / 1.217 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.8621, allocations: 27.61 kB / 1.217 GB, free: 60 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.8622, allocations: 12.73 kB / 1.217 GB, free: 52 kB / 0.92 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.0001123/0.8623, allocations: 128.3 kB / 1.217 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.069e-05/0.8623, allocations: 1.938 kB / 1.217 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.766e-05/0.8623, allocations: 5.031 kB / 1.217 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.8623, allocations: 0.9688 kB / 1.217 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.8623, allocations: 0 / 1.217 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.8623, allocations: 0.875 kB / 1.217 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.8625, allocations: 173.2 kB / 1.217 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.8625, allocations: 0 / 1.217 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.56e-05/0.8625, allocations: 5.812 kB / 1.217 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.8625, allocations: 1.156 kB / 1.217 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.8625, allocations: 4.062 kB / 1.217 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.8625, allocations: 5 kB / 1.217 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.8625, allocations: 0 / 1.217 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.8626, allocations: 89.91 kB / 1.218 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.963e-05/0.8627, allocations: 78.23 kB / 1.218 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.8627, allocations: 1.125 kB / 1.218 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.443e-05/0.8627, allocations: 1.094 kB / 1.218 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.8627, allocations: 12.86 kB / 1.218 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.8627, allocations: 2.406 kB / 1.218 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.314e-05/0.8628, allocations: 84.84 kB / 1.218 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8628, allocations: 0 / 1.218 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002135/0.863, allocations: 19.88 kB / 1.218 GB, free: 15.41 MB / 0.9356 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.0004619/0.8635, allocations: 0.6327 MB / 1.218 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002352/0.8637, allocations: 124.1 kB / 1.218 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.8637, allocations: 0 / 1.218 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.959e-05/0.8637, allocations: 8.094 kB / 1.218 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/0.8639, allocations: 8.219 kB / 1.218 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.8654, allocations: 1.402 MB / 1.22 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.8657, allocations: 0.6796 MB / 1.221 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.022e-05/0.8658, allocations: 2.281 kB / 1.221 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.124e-05/0.8658, allocations: 13.69 kB / 1.221 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of SimCode: time 4.01e-07/0.8658, allocations: 0 / 1.221 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02705/0.8928, allocations: 2.024 MB / 1.223 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.202/9.095, allocations: 5.828 kB / 1.223 GB, free: 11.6 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.937576922122389]