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 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.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.004775/0.004775, allocations: 101.2 kB / 15.73 MB, free: 6.062 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.00126/0.00126, allocations: 194.3 kB / 16.68 MB, free: 5.973 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.331/1.331, 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.626/2.626, allocations: 482.6 MB / 0.755 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 72.56 kB / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2629, allocations: 162.3 MB / 1.242 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.00198/0.2649, allocations: 1.034 MB / 1.243 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001727/0.2666, allocations: 1.448 MB / 1.244 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.248e-05/0.2667, allocations: 7.938 kB / 1.244 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.2668, allocations: 23.67 kB / 1.244 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.806e-05/0.2669, allocations: 39.64 kB / 1.244 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009938/0.2679, allocations: 472 kB / 1.245 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000533/0.2684, allocations: 0.5387 MB / 1.245 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002404/0.2687, allocations: 143.9 kB / 1.245 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.2689, allocations: 199.5 kB / 1.246 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002399/0.2692, allocations: 191.4 kB / 1.246 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.092e-05/0.2692, allocations: 56 kB / 1.246 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.2694, allocations: 67.92 kB / 1.246 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.557e-05/0.2695, allocations: 59.78 kB / 1.246 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001987/0.2697, allocations: 199.2 kB / 1.246 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004908/0.2702, allocations: 0.5099 MB / 1.247 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2702, allocations: 0 / 1.247 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2702, allocations: 0 / 1.247 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.2702, allocations: 0 / 1.247 GB, free: 3.988 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0008086/0.271, allocations: 0.6965 MB / 1.247 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.271, allocations: 12.03 kB / 1.247 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.388e-05/0.2711, allocations: 58.73 kB / 1.247 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.678e-05/0.2712, allocations: 36.75 kB / 1.247 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000839/0.272, allocations: 368.2 kB / 1.248 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.2721, allocations: 20.75 kB / 1.248 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.056e-05/0.2721, allocations: 32.38 kB / 1.248 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003632/0.2725, allocations: 244.6 kB / 1.248 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.2725, allocations: 0 / 1.248 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.2726, allocations: 11.94 kB / 1.248 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.2726, allocations: 4 kB / 1.248 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002156/0.2728, allocations: 143.3 kB / 1.248 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.2739, allocations: 0.7616 MB / 1.249 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002629/0.2741, allocations: 190.5 kB / 1.249 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/0.2744, allocations: 206.8 kB / 1.249 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.2744, allocations: 4 kB / 1.249 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003099/0.2747, allocations: 245.3 kB / 1.25 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=28): time 1.543e-06/0.2747, allocations: 0 / 1.25 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of matching and sorting (n=28): time 0.0006356/0.2754, allocations: 427.2 kB / 1.25 GB, free: 356 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.677e-05/0.2754, allocations: 106.8 kB / 1.25 GB, free: 224 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002736/0.2757, allocations: 286.5 kB / 1.25 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.039e-05/0.2758, allocations: 37.7 kB / 1.25 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.2759, allocations: 168.7 kB / 1.251 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.143e-05/0.276, allocations: 59.58 kB / 1.251 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002066/0.2762, allocations: 141.6 kB / 1.251 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.2763, allocations: 350.8 kB / 1.251 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003429/0.2767, allocations: 200.6 kB / 1.251 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004385/0.2771, allocations: 316 kB / 1.252 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006135/0.2778, allocations: 0.5232 MB / 1.252 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2778, allocations: 0 / 1.252 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001038/0.2788, allocations: 0.7249 MB / 1.253 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.128e-05/0.2789, allocations: 122.8 kB / 1.253 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2789, allocations: 4 kB / 1.253 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.2789, allocations: 7.984 kB / 1.253 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.832e-05/0.279, allocations: 20.33 kB / 1.253 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.279, allocations: 23.86 kB / 1.253 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006189/0.2797, allocations: 131.5 kB / 1.253 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.855e-05/0.2798, allocations: 71.86 kB / 1.253 GB, free: 12.86 MB / 0.9825 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.0001837/0.28, allocations: 178.3 kB / 1.253 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.28, allocations: 31.81 kB / 1.253 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004995/0.2805, allocations: 368.4 kB / 1.254 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2805, allocations: 0 / 1.254 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.2805, allocations: 7.984 kB / 1.254 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.2805, allocations: 0 / 1.254 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008003/0.2813, allocations: 0.7096 MB / 1.254 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2814, allocations: 0 / 1.254 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.513e-05/0.2814, allocations: 19.92 kB / 1.254 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.2814, allocations: 4 kB / 1.254 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.2815, allocations: 15.88 kB / 1.255 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.2815, allocations: 0 / 1.255 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2815, allocations: 0 / 1.255 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004512/0.2819, allocations: 420.8 kB / 1.255 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.631e-05/0.282, allocations: 104.9 kB / 1.255 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/0.2821, allocations: 15.88 kB / 1.255 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.2822, allocations: 16 kB / 1.255 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.2822, allocations: 27.97 kB / 1.255 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.2823, allocations: 11.98 kB / 1.255 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000173/0.2824, allocations: 190 kB / 1.255 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2824, allocations: 0 / 1.255 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000346/0.2828, allocations: 80 kB / 1.255 GB, free: 10.59 MB / 0.9825 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.0007654/0.2836, allocations: 0.9682 MB / 1.256 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008009/0.2844, allocations: 0.6579 MB / 1.257 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2844, allocations: 0 / 1.257 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.2846, allocations: 153.1 kB / 1.257 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.285, allocations: 64.39 kB / 1.257 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00425/0.2893, allocations: 3.609 MB / 1.261 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.2896, allocations: 0.7648 MB / 1.261 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001389/0.2898, allocations: 66.91 kB / 1.261 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.2899, allocations: 103.4 kB / 1.262 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.2899, allocations: 4 kB / 1.262 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.641/1.931, allocations: 7.821 MB / 1.269 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/14.9, allocations: 7.219 kB / 1.269 GB, free: 12.3 MB / 0.9981 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=400 --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