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) 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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007433/0.0007434, allocations: 90.44 kB / 15.36 MB, free: 0.7383 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.004152/0.004152, allocations: 172.7 kB / 16.26 MB, free: 6.613 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.224/1.224, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.393/2.393, allocations: 443.4 MB / 0.7176 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003076/0.0003075, allocations: 8.531 kB / 0.8797 GB, free: 41.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2207, allocations: 155.2 MB / 1.031 GB, free: 4.125 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.000617/0.2214, allocations: 326.5 kB / 1.032 GB, free: 3.809 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.2225, allocations: 1.125 MB / 1.033 GB, free: 2.668 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.219e-05/0.2226, allocations: 3.938 kB / 1.033 GB, free: 2.664 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.467e-05/0.2226, allocations: 0 / 1.033 GB, free: 2.664 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.891e-05/0.2227, allocations: 7.922 kB / 1.033 GB, free: 2.656 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003592/0.223, allocations: 107.2 kB / 1.033 GB, free: 2.555 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.723e-05/0.2231, allocations: 79.83 kB / 1.033 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.73e-05/0.2232, allocations: 8 kB / 1.033 GB, free: 2.469 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.451e-05/0.2232, allocations: 31.91 kB / 1.033 GB, free: 2.438 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.378e-05/0.2233, allocations: 27.91 kB / 1.033 GB, free: 2.41 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.2233, allocations: 4 kB / 1.033 GB, free: 2.406 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.147e-05/0.2234, allocations: 15.98 kB / 1.033 GB, free: 2.391 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.2234, allocations: 7.984 kB / 1.033 GB, free: 2.383 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.17e-05/0.2235, allocations: 49.62 kB / 1.033 GB, free: 2.328 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.2236, allocations: 83.77 kB / 1.033 GB, free: 2.246 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2236, allocations: 0 / 1.033 GB, free: 2.246 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2236, allocations: 4 kB / 1.033 GB, free: 2.242 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.2236, allocations: 0 / 1.033 GB, free: 2.242 MB / 0.7794 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.0003036/0.2239, allocations: 361.4 kB / 1.033 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.224, allocations: 8.031 kB / 1.033 GB, free: 1.824 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.944e-05/0.224, allocations: 34.75 kB / 1.033 GB, free: 1.781 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.224, allocations: 8.844 kB / 1.033 GB, free: 1.773 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.648e-05/0.2241, allocations: 180.2 kB / 1.034 GB, free: 1.559 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.2241, allocations: 8.312 kB / 1.034 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.2242, allocations: 4.375 kB / 1.034 GB, free: 1.547 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.432e-05/0.2243, allocations: 42.25 kB / 1.034 GB, free: 1.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.2243, allocations: 3.938 kB / 1.034 GB, free: 1.496 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.2243, allocations: 0 / 1.034 GB, free: 1.496 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2243, allocations: 4 kB / 1.034 GB, free: 1.492 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.137e-05/0.2243, allocations: 11.94 kB / 1.034 GB, free: 1.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003055/0.2246, allocations: 288.9 kB / 1.034 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.835e-05/0.2247, allocations: 30.45 kB / 1.034 GB, free: 1.109 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.2247, allocations: 12.92 kB / 1.034 GB, free: 1.094 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-06/0.2247, allocations: 0 / 1.034 GB, free: 1.094 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.116e-05/0.2248, allocations: 63.3 kB / 1.034 GB, free: 1.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.2248, allocations: 0 / 1.034 GB, free: 1.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001523/0.225, allocations: 77.61 kB / 1.034 GB, free: 0.9375 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.225, allocations: 51.41 kB / 1.034 GB, free: 0.875 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.502e-05/0.2251, allocations: 106.1 kB / 1.034 GB, free: 0.7617 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.2251, allocations: 37.7 kB / 1.034 GB, free: 0.7188 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.993e-05/0.2252, allocations: 88.14 kB / 1.034 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.777e-06/0.2252, allocations: 3.906 kB / 1.034 GB, free: 0.625 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/0.2252, allocations: 21.7 kB / 1.034 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.015e-05/0.2253, allocations: 314.8 kB / 1.035 GB, free: 288 kB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.636e-05/0.2254, allocations: 27.98 kB / 1.035 GB, free: 260 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.595e-05/0.2255, allocations: 58.61 kB / 1.035 GB, free: 192 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.2256, allocations: 88.16 kB / 1.035 GB, free: 88 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2256, allocations: 4 kB / 1.035 GB, free: 84 kB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002274/0.2258, allocations: 151.4 kB / 1.035 GB, free: 15.92 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/0.2259, allocations: 39.58 kB / 1.035 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.2259, allocations: 0 / 1.035 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.2259, allocations: 64 / 1.035 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.084e-05/0.2259, allocations: 8 kB / 1.035 GB, free: 15.87 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.2259, allocations: 4.062 kB / 1.035 GB, free: 15.86 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.2262, allocations: 39.95 kB / 1.035 GB, free: 15.82 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.2262, allocations: 4 kB / 1.035 GB, free: 15.82 MB / 0.795 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.902e-05/0.2262, allocations: 127.2 kB / 1.035 GB, free: 15.69 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.2263, allocations: 11.91 kB / 1.035 GB, free: 15.68 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.84e-05/0.2263, allocations: 11.83 kB / 1.035 GB, free: 15.66 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.2263, allocations: 240 / 1.035 GB, free: 15.66 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.2263, allocations: 0 / 1.035 GB, free: 15.66 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.2263, allocations: 3.984 kB / 1.035 GB, free: 15.66 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.287e-05/0.2264, allocations: 169.6 kB / 1.035 GB, free: 15.44 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.2264, allocations: 0 / 1.035 GB, free: 15.44 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.652e-05/0.2264, allocations: 7.984 kB / 1.035 GB, free: 15.43 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.2264, allocations: 0 / 1.035 GB, free: 15.43 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.2265, allocations: 0 / 1.035 GB, free: 15.43 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2265, allocations: 3.938 kB / 1.035 GB, free: 15.43 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2265, allocations: 4 kB / 1.035 GB, free: 15.43 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.427e-05/0.2266, allocations: 81.06 kB / 1.036 GB, free: 15.33 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 2.711e-05/0.2266, allocations: 85.02 kB / 1.036 GB, free: 15.23 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.2266, allocations: 3.984 kB / 1.036 GB, free: 15.22 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.537e-05/0.2266, allocations: 7.938 kB / 1.036 GB, free: 15.21 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.942e-05/0.2267, allocations: 4 kB / 1.036 GB, free: 15.21 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.2267, allocations: 0 / 1.036 GB, free: 15.21 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.544e-05/0.2267, allocations: 87.27 kB / 1.036 GB, free: 15.12 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.2267, allocations: 0 / 1.036 GB, free: 15.12 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001933/0.2269, allocations: 23.94 kB / 1.036 GB, free: 15.1 MB / 0.795 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.0003066/0.2272, allocations: 0.6202 MB / 1.036 GB, free: 14.45 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001691/0.2274, allocations: 123.4 kB / 1.036 GB, free: 14.32 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2274, allocations: 4.062 kB / 1.036 GB, free: 14.31 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.917e-05/0.2274, allocations: 12 kB / 1.037 GB, free: 14.3 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.2276, allocations: 15.98 kB / 1.037 GB, free: 14.29 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.2287, allocations: 1.402 MB / 1.038 GB, free: 12.79 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001686/0.2289, allocations: 0.677 MB / 1.039 GB, free: 12.09 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.936e-05/0.229, allocations: 7.984 kB / 1.039 GB, free: 12.08 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.299e-05/0.229, allocations: 11.44 kB / 1.039 GB, free: 12.07 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.229, allocations: 4 kB / 1.039 GB, free: 12.06 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.694/1.923, allocations: 1.787 MB / 1.04 GB, free: 10.46 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003496/1.923, allocations: 229.5 kB / 1.041 GB, free: 10.2 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/3.553, allocations: 0 / 1.041 GB, free: 10.2 MB / 0.795 GB (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 --timeout=50 --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) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches