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) 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.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00298/0.00298, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002182/0.002182, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.249/1.249, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.461/2.461, allocations: 469.8 MB / 0.7424 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 67.36 kB / 0.9087 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2339, allocations: 159.2 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001601/0.2355, allocations: 0.6081 MB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.2367, allocations: 1.114 MB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.478e-05/0.2368, allocations: 0 / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.517e-05/0.2368, allocations: 3.938 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.399e-05/0.2369, allocations: 3.938 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003853/0.2372, allocations: 126.8 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.2374, allocations: 91.83 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.837e-05/0.2375, allocations: 15.97 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.429e-05/0.2375, allocations: 27.98 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.601e-05/0.2376, allocations: 31.91 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.2376, allocations: 8 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.49e-05/0.2377, allocations: 23.92 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.2377, allocations: 4 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.341e-05/0.2378, allocations: 39.83 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.2379, allocations: 75.84 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.2379, allocations: 0 / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2379, allocations: 0 / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.2379, allocations: 4 kB / 1.066 GB, free: 12.01 MB / 0.8262 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.0004119/0.2383, allocations: 381.3 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.2384, allocations: 16.03 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.841e-05/0.2384, allocations: 30.75 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.2384, allocations: 4.938 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.2386, allocations: 176.3 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.2386, allocations: 384 / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.2386, allocations: 4.375 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.172e-05/0.2387, allocations: 42.25 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.2387, allocations: 7.875 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.152e-06/0.2387, allocations: 0 / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-06/0.2387, allocations: 0 / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.074e-05/0.2388, allocations: 8 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003391/0.2391, allocations: 296.8 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.408e-05/0.2392, allocations: 30.52 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.96e-05/0.2392, allocations: 8.922 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/0.2392, allocations: 0 / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001183/0.2393, allocations: 67.33 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2393, allocations: 0 / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001678/0.2395, allocations: 73.72 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.2396, allocations: 55.41 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.689e-05/0.2396, allocations: 105.8 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.2397, allocations: 37.58 kB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.2397, allocations: 84.14 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.217e-05/0.2397, allocations: 11.89 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/0.2398, allocations: 33.7 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.2399, allocations: 318.8 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.154e-05/0.24, allocations: 27.98 kB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.878e-05/0.2401, allocations: 50.61 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.2402, allocations: 88.2 kB / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2402, allocations: 8 kB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002341/0.2404, allocations: 151.3 kB / 1.068 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/0.2405, allocations: 37.69 kB / 1.068 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.2405, allocations: 4 kB / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.2405, allocations: 0 / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.035e-05/0.2406, allocations: 7.938 kB / 1.068 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.2406, allocations: 0 / 1.068 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.2408, allocations: 27.94 kB / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.2408, allocations: 11.98 kB / 1.068 GB, free: 9.566 MB / 0.8262 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 8.088e-05/0.2409, allocations: 117.8 kB / 1.068 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.546e-06/0.2409, allocations: 4 kB / 1.068 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.275e-05/0.2409, allocations: 7.906 kB / 1.068 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.2409, allocations: 0 / 1.068 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2409, allocations: 4 kB / 1.068 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2409, allocations: 3.984 kB / 1.068 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.241, allocations: 157.6 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2411, allocations: 4 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.328e-05/0.2411, allocations: 4 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.2411, allocations: 0 / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.2411, allocations: 7.922 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2411, allocations: 0 / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2411, allocations: 4 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.2412, allocations: 88.97 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-05/0.2413, allocations: 77.11 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.2413, allocations: 0 / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.587e-05/0.2413, allocations: 7.984 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/0.2413, allocations: 4 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.2413, allocations: 0 / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.452e-05/0.2414, allocations: 91.27 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9e-08/0.2414, allocations: 0 / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001883/0.2416, allocations: 19.94 kB / 1.069 GB, free: 8.875 MB / 0.8262 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.000377/0.242, allocations: 0.6318 MB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001987/0.2422, allocations: 127.3 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.2422, allocations: 0 / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.175e-05/0.2422, allocations: 12 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.2424, allocations: 15.34 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.2436, allocations: 1.394 MB / 1.071 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.2439, allocations: 0.685 MB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.403e-05/0.2439, allocations: 0 / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.574e-05/0.244, allocations: 15.44 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of SimCode: time 2.01e-07/0.244, allocations: 0 / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.485/1.729, allocations: 1.98 MB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/14.76, allocations: 14.02 kB / 1.074 GB, free: 3.969 MB / 0.8262 GB (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 --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) 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/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches