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 12.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007546/0.007546, allocations: 98.19 kB / 15.73 MB, free: 5.605 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.002161/0.002161, allocations: 199.8 kB / 16.67 MB, free: 5.531 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.203/1.203, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.356/2.356, allocations: 482.6 MB / 0.7551 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 68.2 kB / 1.083 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2533, allocations: 162.3 MB / 1.242 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001488/0.2548, allocations: 0.6023 MB / 1.242 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.2561, allocations: 1.11 MB / 1.244 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.338e-05/0.2561, allocations: 0 / 1.244 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.378e-05/0.2562, allocations: 4 kB / 1.244 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.464e-05/0.2562, allocations: 3.938 kB / 1.244 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003935/0.2566, allocations: 132.3 kB / 1.244 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.2568, allocations: 91.88 kB / 1.244 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.642e-05/0.2568, allocations: 3.984 kB / 1.244 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.993e-05/0.2569, allocations: 43.86 kB / 1.244 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.724e-05/0.257, allocations: 39.88 kB / 1.244 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.257, allocations: 8 kB / 1.244 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.898e-05/0.2571, allocations: 19.98 kB / 1.244 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.2571, allocations: 4 kB / 1.244 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.818e-05/0.2572, allocations: 27.92 kB / 1.244 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.2573, allocations: 88 kB / 1.244 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.2573, allocations: 0 / 1.244 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2573, allocations: 0 / 1.244 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.2573, allocations: 0 / 1.244 GB, free: 6.797 MB / 0.9669 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.00039/0.2577, allocations: 381.1 kB / 1.244 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.2578, allocations: 12.03 kB / 1.244 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.347e-05/0.2578, allocations: 34.75 kB / 1.244 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.2578, allocations: 8.891 kB / 1.244 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.2579, allocations: 168.3 kB / 1.245 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.258, allocations: 4.375 kB / 1.245 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.258, allocations: 4.375 kB / 1.245 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.846e-05/0.2581, allocations: 42.25 kB / 1.245 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.2581, allocations: 7.875 kB / 1.245 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.2581, allocations: 3.984 kB / 1.245 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.2581, allocations: 4 kB / 1.245 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.455e-05/0.2581, allocations: 8 kB / 1.245 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003322/0.2585, allocations: 292.8 kB / 1.245 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.786e-05/0.2585, allocations: 38.44 kB / 1.245 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.197e-05/0.2586, allocations: 8.922 kB / 1.245 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-06/0.2586, allocations: 0 / 1.245 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000119/0.2587, allocations: 63.39 kB / 1.245 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2587, allocations: 0 / 1.245 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.000165/0.2589, allocations: 69.62 kB / 1.245 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.2589, allocations: 59.39 kB / 1.245 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.749e-05/0.259, allocations: 109.8 kB / 1.245 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.259, allocations: 29.7 kB / 1.245 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.662e-05/0.2591, allocations: 88.09 kB / 1.245 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.206e-05/0.2591, allocations: 7.953 kB / 1.245 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.778e-05/0.2592, allocations: 37.7 kB / 1.245 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.2593, allocations: 310.8 kB / 1.246 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.086e-05/0.2594, allocations: 35.97 kB / 1.246 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.303e-05/0.2594, allocations: 42.56 kB / 1.246 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.2596, allocations: 100.2 kB / 1.246 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.2596, allocations: 0 / 1.246 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002272/0.2598, allocations: 151.3 kB / 1.246 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.211e-05/0.2598, allocations: 33.69 kB / 1.246 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2598, allocations: 4 kB / 1.246 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.2599, allocations: 0 / 1.246 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.692e-05/0.2599, allocations: 0 / 1.246 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.2599, allocations: 4 kB / 1.246 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.2601, allocations: 31.98 kB / 1.246 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.2601, allocations: 4 kB / 1.246 GB, free: 4.363 MB / 0.9669 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.29e-05/0.2602, allocations: 125.7 kB / 1.246 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.1e-05/0.2602, allocations: 4 kB / 1.246 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.238e-05/0.2602, allocations: 7.906 kB / 1.246 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2602, allocations: 240 / 1.246 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2603, allocations: 0 / 1.246 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2603, allocations: 7.922 kB / 1.246 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.2604, allocations: 165.6 kB / 1.246 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2604, allocations: 4 kB / 1.246 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.904e-05/0.2604, allocations: 4 kB / 1.246 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2604, allocations: 0 / 1.246 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.2604, allocations: 0 / 1.246 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2604, allocations: 400 / 1.246 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2604, allocations: 0 / 1.246 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.2605, allocations: 97 kB / 1.246 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.569e-05/0.2606, allocations: 77.11 kB / 1.247 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.2606, allocations: 0 / 1.247 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.379e-05/0.2606, allocations: 8 kB / 1.247 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.004e-05/0.2606, allocations: 7.938 kB / 1.247 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.2606, allocations: 0 / 1.247 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.097e-05/0.2607, allocations: 99.23 kB / 1.247 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2607, allocations: 3.938 kB / 1.247 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001797/0.2609, allocations: 15.94 kB / 1.247 GB, free: 3.648 MB / 0.9669 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.0003731/0.2613, allocations: 0.6324 MB / 1.247 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001881/0.2615, allocations: 123.3 kB / 1.247 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2615, allocations: 0 / 1.247 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.122e-05/0.2615, allocations: 19.98 kB / 1.247 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.2617, allocations: 4 kB / 1.247 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.2629, allocations: 1.4 MB / 1.249 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.2632, allocations: 0.6807 MB / 1.249 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.818e-05/0.2632, allocations: 4 kB / 1.249 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.392e-05/0.2633, allocations: 11.44 kB / 1.249 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of SimCode: time 1.743e-06/0.2633, allocations: 0 / 1.249 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 11.52/11.78, allocations: 2.024 MB / 1.251 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.27/34.05, allocations: 11.05 kB / 1.251 GB, free: 14.72 MB / 0.9825 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=400 --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