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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003954/0.003954, allocations: 101 kB / 15.73 MB, free: 6.445 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.001114/0.001114, allocations: 191.6 kB / 16.67 MB, free: 6.348 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.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.391/2.391, allocations: 437.1 MB / 0.7106 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 71.88 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2388, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001464/0.2403, allocations: 0.5991 MB / 1.167 GB, free: 6.68 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.2415, allocations: 1.117 MB / 1.168 GB, free: 5.547 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.278e-05/0.2416, allocations: 0 / 1.168 GB, free: 5.547 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.302e-05/0.2416, allocations: 0 / 1.168 GB, free: 5.547 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.644e-05/0.2416, allocations: 3.938 kB / 1.168 GB, free: 5.543 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.2421, allocations: 127.3 kB / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000142/0.2422, allocations: 103.8 kB / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.865e-05/0.2423, allocations: 4 kB / 1.168 GB, free: 5.316 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.846e-05/0.2423, allocations: 31.92 kB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.085e-05/0.2424, allocations: 39.88 kB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.2425, allocations: 12 kB / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.948e-05/0.2425, allocations: 19.98 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.49e-05/0.2426, allocations: 4 kB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.131e-05/0.2426, allocations: 31.91 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.2427, allocations: 88 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.2428, allocations: 0 / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2428, allocations: 0 / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.2428, allocations: 0 / 1.168 GB, free: 5.094 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.0004166/0.2432, allocations: 381 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.2432, allocations: 8.031 kB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.42e-05/0.2433, allocations: 38.69 kB / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.143e-05/0.2433, allocations: 8.938 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.2434, allocations: 168.4 kB / 1.169 GB, free: 4.398 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.2434, allocations: 8.359 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.2435, allocations: 12.31 kB / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.602e-05/0.2435, allocations: 34.25 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2436, allocations: 3.938 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.2436, allocations: 4 kB / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.2436, allocations: 0 / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.312e-05/0.2436, allocations: 8 kB / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.244, allocations: 304.7 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.67e-05/0.244, allocations: 26.52 kB / 1.169 GB, free: 3.941 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.261e-05/0.2441, allocations: 16.86 kB / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.376e-06/0.2441, allocations: 0 / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001186/0.2442, allocations: 63.39 kB / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.041e-06/0.2442, allocations: 0 / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0001656/0.2444, allocations: 73.61 kB / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.2444, allocations: 51.41 kB / 1.169 GB, free: 3.707 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.272e-05/0.2445, allocations: 113.8 kB / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.2445, allocations: 29.7 kB / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.921e-05/0.2446, allocations: 88.14 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.578e-06/0.2446, allocations: 3.953 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.994e-05/0.2447, allocations: 29.7 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.2448, allocations: 326.8 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.918e-05/0.2449, allocations: 27.98 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.755e-05/0.245, allocations: 46.88 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.2451, allocations: 92.14 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2451, allocations: 0 / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002337/0.2453, allocations: 151.4 kB / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.559e-05/0.2454, allocations: 44.19 kB / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.2454, allocations: 0 / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.397e-06/0.2454, allocations: 0 / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.654e-05/0.2454, allocations: 4 kB / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.2454, allocations: 4.062 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.2456, allocations: 27.92 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.2457, allocations: 15.92 kB / 1.17 GB, free: 2.648 MB / 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 7.832e-05/0.2457, allocations: 121.8 kB / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-06/0.2458, allocations: 0 / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.261e-05/0.2458, allocations: 7.906 kB / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.2458, allocations: 0 / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2458, allocations: 0 / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.2458, allocations: 0 / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.2459, allocations: 173.5 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.2459, allocations: 0 / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.305e-05/0.246, allocations: 0 / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.246, allocations: 8 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.246, allocations: 0 / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.246, allocations: 3.938 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.246, allocations: 0 / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.2461, allocations: 97.16 kB / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.027e-05/0.2461, allocations: 81.11 kB / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.2462, allocations: 0 / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.556e-05/0.2462, allocations: 4 kB / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.2462, allocations: 7.984 kB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.2462, allocations: 4 kB / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.69e-05/0.2463, allocations: 83.27 kB / 1.171 GB, free: 1.965 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2463, allocations: 0 / 1.171 GB, free: 1.965 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001902/0.2465, allocations: 23.94 kB / 1.171 GB, free: 1.941 MB / 0.92 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.0003877/0.2469, allocations: 0.628 MB / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002008/0.2471, allocations: 131.3 kB / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.2471, allocations: 0 / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.737e-05/0.2471, allocations: 8 kB / 1.172 GB, free: 1.137 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001734/0.2473, allocations: 15.98 kB / 1.172 GB, free: 1.121 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.2486, allocations: 1.381 MB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.2489, allocations: 0.6807 MB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.726e-05/0.2489, allocations: 4 kB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.458e-05/0.2489, allocations: 11.44 kB / 1.174 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.2489, allocations: 0 / 1.174 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7438/0.9927, allocations: 2.028 MB / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.913/9.905, allocations: 11.69 kB / 1.176 GB, free: 13.03 MB / 0.9356 GB (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 --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) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches