Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.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.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",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.001295/0.001295, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001366/0.001366, allocations: 193.5 kB / 16.14 MB, free: 6.652 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.271/1.271, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.51/2.51, allocations: 461.8 MB / 0.7342 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 68.05 kB / 0.8985 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2564, allocations: 157.4 MB / 1.052 GB, free: 8.176 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002458/0.2589, allocations: 1.085 MB / 1.053 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002034/0.2609, allocations: 1.521 MB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.261, allocations: 7.938 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.2612, allocations: 11.86 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.2613, allocations: 35.72 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009735/0.2623, allocations: 423.5 kB / 1.055 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004947/0.2628, allocations: 455.8 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002691/0.2631, allocations: 135.6 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002546/0.2633, allocations: 175.5 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.2636, allocations: 163.3 kB / 1.056 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.554e-05/0.2637, allocations: 24 kB / 1.056 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.2638, allocations: 39.98 kB / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.725e-05/0.2639, allocations: 55.83 kB / 1.056 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002214/0.2641, allocations: 175.2 kB / 1.056 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005273/0.2646, allocations: 494.8 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.2647, allocations: 8 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.91e-07/0.2647, allocations: 0 / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.574e-05/0.2647, allocations: 0 / 1.057 GB, free: 3.402 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001162/0.2659, allocations: 0.6851 MB / 1.058 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.2659, allocations: 11.97 kB / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.272e-05/0.266, allocations: 54.73 kB / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.2661, allocations: 40.56 kB / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.2672, allocations: 368 kB / 1.058 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.353e-05/0.2673, allocations: 28.73 kB / 1.058 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.077e-05/0.2674, allocations: 32.38 kB / 1.058 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004063/0.2678, allocations: 240.5 kB / 1.058 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.2678, allocations: 4 kB / 1.058 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.2678, allocations: 4 kB / 1.058 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.2678, allocations: 4 kB / 1.058 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002426/0.2681, allocations: 143.3 kB / 1.058 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.2694, allocations: 0.7731 MB / 1.059 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/0.2696, allocations: 180.3 kB / 1.059 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002638/0.2699, allocations: 214.2 kB / 1.06 GB, free: 464 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.2699, allocations: 7.922 kB / 1.06 GB, free: 456 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003072/0.2702, allocations: 251.8 kB / 1.06 GB, free: 180 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=28): time 1.653e-06/0.2703, allocations: 0 / 1.06 GB, free: 180 kB / 0.8106 GB Notification: Performance of matching and sorting (n=28): time 0.0007012/0.271, allocations: 419 kB / 1.06 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.162e-05/0.271, allocations: 106.8 kB / 1.06 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.2713, allocations: 282.5 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.815e-05/0.2714, allocations: 41.7 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.2715, allocations: 168.5 kB / 1.061 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.021e-05/0.2716, allocations: 59.28 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/0.2718, allocations: 141.5 kB / 1.061 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.272, allocations: 346.7 kB / 1.061 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000356/0.2723, allocations: 196.7 kB / 1.061 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004261/0.2728, allocations: 324 kB / 1.062 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006413/0.2734, allocations: 0.5271 MB / 1.062 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.2734, allocations: 4 kB / 1.062 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001094/0.2745, allocations: 0.705 MB / 1.063 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.62e-05/0.2746, allocations: 127.2 kB / 1.063 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.2746, allocations: 8 kB / 1.063 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.2747, allocations: 7.938 kB / 1.063 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.315e-05/0.2748, allocations: 27.92 kB / 1.063 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.2748, allocations: 7.938 kB / 1.063 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006101/0.2754, allocations: 127.5 kB / 1.063 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.2755, allocations: 71.86 kB / 1.063 GB, free: 12.3 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,con.y,con1.y,extIndBoo.u[4],extIndBoo.u[1],extIndBoo1.u[4],extIndBoo2.u[4],extIndBoo3.u[4],extIndBoo4.u[4],extIndBoo1.u[1],extIndBoo2.u[1],extIndBoo3.u[1],extIndBoo4.u[1],intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,booPul1.y,$PRE.booPul1.y,booPul.y,$PRE.booPul.y,extIndBoo4.y,extIndBoo4.u[3],extIndBoo4.u[2],extIndBoo3.y,extIndBoo3.u[3],extIndBoo3.u[2],extIndBoo2.y,extIndBoo2.u[3],extIndBoo2.u[2],extIndBoo1.y,extIndBoo1.u[3],extIndBoo1.u[2],extIndBoo.u[3],extIndBoo.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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 0.0002064/0.2757, allocations: 193.6 kB / 1.064 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.305e-05/0.2758, allocations: 31.56 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005088/0.2763, allocations: 352.9 kB / 1.064 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.2763, allocations: 7.938 kB / 1.064 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2763, allocations: 0 / 1.064 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.2763, allocations: 0 / 1.064 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008419/0.2772, allocations: 0.7172 MB / 1.065 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2772, allocations: 0 / 1.065 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.266e-05/0.2773, allocations: 23.92 kB / 1.065 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.2773, allocations: 4 kB / 1.065 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.2773, allocations: 7.938 kB / 1.065 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.2773, allocations: 7.984 kB / 1.065 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.2773, allocations: 0 / 1.065 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004427/0.2778, allocations: 415 kB / 1.065 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.519e-05/0.2778, allocations: 104.7 kB / 1.065 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.816e-05/0.2779, allocations: 11.94 kB / 1.065 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.278, allocations: 11.98 kB / 1.065 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.91e-05/0.2781, allocations: 19.97 kB / 1.065 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.2781, allocations: 16 kB / 1.065 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001638/0.2783, allocations: 186 kB / 1.065 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2783, allocations: 0 / 1.065 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003983/0.2787, allocations: 91.98 kB / 1.065 GB, free: 10.03 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: 32 (extIndBoo.u[2],extIndBoo.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.y,extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.y,extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.y,extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.y,booPul.y,booPul1.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007557/0.2794, allocations: 0.9763 MB / 1.066 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007938/0.2802, allocations: 0.6535 MB / 1.067 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2803, allocations: 0 / 1.067 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001732/0.2804, allocations: 147.8 kB / 1.067 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.2809, allocations: 61.28 kB / 1.067 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004439/0.2853, allocations: 3.645 MB / 1.071 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.2857, allocations: 0.7651 MB / 1.072 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001638/0.2858, allocations: 66.91 kB / 1.072 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.286, allocations: 99.41 kB / 1.072 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.286, allocations: 0 / 1.072 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01764/0.3036, allocations: 7.426 MB / 1.079 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/0.3039, allocations: 215.4 kB / 1.079 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.839/2.143, allocations: 0 / 1.079 GB, free: 11.86 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches