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.0009417/0.0009418, allocations: 91.53 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.007005/0.007005, allocations: 172.2 kB / 16.26 MB, free: 6.676 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.187/1.187, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.298/2.298, allocations: 462.6 MB / 0.7364 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002806/0.0002806, allocations: 11.34 kB / 0.9029 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.224, allocations: 159.6 MB / 1.059 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.0006353/0.2247, allocations: 345.8 kB / 1.059 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.2258, allocations: 1.108 MB / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.26e-05/0.2258, allocations: 0 / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.396e-05/0.2258, allocations: 3.938 kB / 1.06 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.126e-05/0.2259, allocations: 7.984 kB / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000347/0.2263, allocations: 106.4 kB / 1.06 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.143e-05/0.2264, allocations: 87.81 kB / 1.06 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.858e-05/0.2264, allocations: 4 kB / 1.06 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.701e-05/0.2265, allocations: 35.91 kB / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.471e-05/0.2266, allocations: 23.91 kB / 1.06 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.2266, allocations: 4 kB / 1.06 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.132e-05/0.2267, allocations: 19.97 kB / 1.06 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.399e-05/0.2267, allocations: 4 kB / 1.06 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.535e-05/0.2267, allocations: 53.56 kB / 1.061 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.2269, allocations: 79.83 kB / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2269, allocations: 0 / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2269, allocations: 4 kB / 1.061 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.2269, allocations: 4 kB / 1.061 GB, free: 3.012 MB / 0.8106 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.0003262/0.2272, allocations: 357.5 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.2273, allocations: 15.97 kB / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.15e-05/0.2273, allocations: 34.73 kB / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.081e-05/0.2273, allocations: 8.844 kB / 1.061 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.963e-05/0.2274, allocations: 160.4 kB / 1.061 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.2275, allocations: 4.375 kB / 1.061 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.2275, allocations: 8.375 kB / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.55e-05/0.2276, allocations: 50.17 kB / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.79e-06/0.2276, allocations: 3.938 kB / 1.061 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-06/0.2276, allocations: 0 / 1.061 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.2276, allocations: 0 / 1.061 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.317e-05/0.2276, allocations: 11.98 kB / 1.061 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003147/0.2279, allocations: 292.8 kB / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.096e-05/0.228, allocations: 34.45 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.15e-05/0.228, allocations: 20.91 kB / 1.062 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.415e-06/0.2281, allocations: 0 / 1.062 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001131/0.2282, allocations: 75.31 kB / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.2282, allocations: 0 / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001554/0.2283, allocations: 61.69 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.2284, allocations: 59.34 kB / 1.062 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.929e-05/0.2285, allocations: 117.8 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.2285, allocations: 25.7 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.252e-05/0.2285, allocations: 92.05 kB / 1.062 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.113e-05/0.2285, allocations: 11.89 kB / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.2286, allocations: 17.72 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.862e-05/0.2287, allocations: 310.8 kB / 1.062 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.02e-05/0.2287, allocations: 31.98 kB / 1.062 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.96e-05/0.2288, allocations: 46.55 kB / 1.062 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.816e-05/0.2289, allocations: 100.2 kB / 1.062 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2289, allocations: 0 / 1.062 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002149/0.2291, allocations: 147.3 kB / 1.063 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.2292, allocations: 33.7 kB / 1.063 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.2292, allocations: 4 kB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.2292, allocations: 0 / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.879e-05/0.2292, allocations: 7.922 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.2293, allocations: 8.062 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.2295, allocations: 33.53 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.2295, allocations: 4 kB / 1.063 GB, free: 0.5898 MB / 0.8106 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 7.447e-05/0.2296, allocations: 125.8 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-06/0.2296, allocations: 7.906 kB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.991e-05/0.2296, allocations: 7.906 kB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2296, allocations: 4 kB / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.2296, allocations: 0 / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2296, allocations: 0 / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.475e-05/0.2297, allocations: 165.6 kB / 1.063 GB, free: 228 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2297, allocations: 0 / 1.063 GB, free: 228 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.347e-05/0.2298, allocations: 3.938 kB / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.2298, allocations: 0 / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.2298, allocations: 4 kB / 1.063 GB, free: 220 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2298, allocations: 4 kB / 1.063 GB, free: 216 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.2298, allocations: 0 / 1.063 GB, free: 216 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.291e-05/0.2299, allocations: 89.28 kB / 1.063 GB, free: 108 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.109e-05/0.2299, allocations: 85.05 kB / 1.063 GB, free: 4 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.2299, allocations: 4 kB / 1.063 GB, free: 0 / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.386e-05/0.23, allocations: 112 / 1.063 GB, free: 16 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.538e-05/0.23, allocations: 3.938 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.23, allocations: 4 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.469e-05/0.23, allocations: 91.27 kB / 1.063 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.23, allocations: 0 / 1.063 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001905/0.2302, allocations: 16 kB / 1.063 GB, free: 15.88 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.0003117/0.2305, allocations: 0.628 MB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001801/0.2307, allocations: 131.3 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2307, allocations: 0 / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.14e-05/0.2308, allocations: 19.97 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.231, allocations: 5.203 kB / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.2321, allocations: 1.397 MB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001816/0.2323, allocations: 0.6809 MB / 1.066 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.528e-05/0.2323, allocations: 0 / 1.066 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.204e-05/0.2323, allocations: 15.44 kB / 1.066 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2323, allocations: 0 / 1.066 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3549/0.5873, allocations: 1.777 MB / 1.068 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002682/0.5876, allocations: 226.7 kB / 1.068 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.056/2.644, allocations: 0 / 1.068 GB, free: 10.99 MB / 0.8262 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