Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_10_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.001458/0.001458, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001721/0.001722, allocations: 194.8 kB / 16.53 MB, free: 6.664 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.444/1.444, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.705/2.705, allocations: 437 MB / 0.7104 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002381/0.002381, allocations: 71.89 kB / 0.8694 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8189/0.8213, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002565/0.8239, allocations: 1.033 MB / 1.018 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002114/0.8261, allocations: 1.463 MB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001663/0.8263, allocations: 0 / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001651/0.8265, allocations: 27.67 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.8266, allocations: 47.56 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.828, allocations: 456.4 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006462/0.8286, allocations: 0.5193 MB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002865/0.8289, allocations: 139.7 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003096/0.8292, allocations: 203.6 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.8295, allocations: 171.4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.8296, allocations: 48 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.8298, allocations: 67.92 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.8299, allocations: 67.83 kB / 1.022 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002667/0.8302, allocations: 191.2 kB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00077/0.8309, allocations: 0.5085 MB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.831, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.505e-06/0.831, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.789e-05/0.831, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 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.001358/0.8324, allocations: 0.685 MB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.958e-05/0.8324, allocations: 12.03 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001003/0.8325, allocations: 54.72 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.8327, allocations: 36.66 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.834, allocations: 375.9 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.001e-05/0.8341, allocations: 32.69 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.951e-05/0.8342, allocations: 32.38 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005037/0.8347, allocations: 236.6 kB / 1.024 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.8347, allocations: 0 / 1.024 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.8347, allocations: 11.98 kB / 1.024 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.8348, allocations: 8 kB / 1.024 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000286/0.835, allocations: 143.3 kB / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.8363, allocations: 0.7575 MB / 1.025 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002632/0.8365, allocations: 190.4 kB / 1.025 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002549/0.8368, allocations: 212.7 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.8368, allocations: 0 / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003217/0.8372, allocations: 240.8 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=28): time 3.858e-06/0.8372, allocations: 0 / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28): time 0.0008017/0.838, allocations: 424.4 kB / 1.026 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.848e-05/0.8381, allocations: 114.8 kB / 1.026 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003706/0.8385, allocations: 294.3 kB / 1.026 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.724e-05/0.8386, allocations: 37.7 kB / 1.026 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/0.8388, allocations: 160.7 kB / 1.026 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.657e-05/0.8388, allocations: 59.27 kB / 1.026 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003117/0.8392, allocations: 137.5 kB / 1.026 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.8393, allocations: 342.8 kB / 1.027 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003754/0.8397, allocations: 204.7 kB / 1.027 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004323/0.8402, allocations: 315.9 kB / 1.027 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006613/0.8408, allocations: 0.531 MB / 1.028 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.8408, allocations: 0 / 1.028 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001217/0.8421, allocations: 0.713 MB / 1.028 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.8422, allocations: 128.5 kB / 1.028 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.8422, allocations: 0 / 1.028 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.791e-05/0.8422, allocations: 8 kB / 1.028 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.8424, allocations: 23.86 kB / 1.029 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.8424, allocations: 4 kB / 1.029 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007178/0.8431, allocations: 139.6 kB / 1.029 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.8432, allocations: 67.86 kB / 1.029 GB, free: 6.5 MB / 0.7794 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.0002202/0.8434, allocations: 195.2 kB / 1.029 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.913e-05/0.8435, allocations: 27.62 kB / 1.029 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005157/0.844, allocations: 352.3 kB / 1.029 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.922e-06/0.844, allocations: 4 kB / 1.029 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.844, allocations: 4 kB / 1.029 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.8441, allocations: 3.984 kB / 1.029 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008595/0.8449, allocations: 0.721 MB / 1.03 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.8449, allocations: 11.94 kB / 1.03 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.803e-05/0.845, allocations: 12 kB / 1.03 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.845, allocations: 0 / 1.03 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.845, allocations: 19.86 kB / 1.03 GB, free: 5.094 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.8451, allocations: 4 kB / 1.03 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.8451, allocations: 0 / 1.03 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005143/0.8456, allocations: 411.3 kB / 1.03 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.499e-05/0.8457, allocations: 100.8 kB / 1.031 GB, free: 4.555 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.444e-05/0.8457, allocations: 23.83 kB / 1.031 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.8459, allocations: 8 kB / 1.031 GB, free: 4.523 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.996e-05/0.8459, allocations: 23.97 kB / 1.031 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.846, allocations: 11.98 kB / 1.031 GB, free: 4.488 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001965/0.8462, allocations: 194 kB / 1.031 GB, free: 4.301 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8462, allocations: 0 / 1.031 GB, free: 4.301 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004324/0.8466, allocations: 80 kB / 1.031 GB, free: 4.223 MB / 0.7794 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.0007953/0.8474, allocations: 0.9722 MB / 1.032 GB, free: 3.227 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009041/0.8483, allocations: 0.6934 MB / 1.032 GB, free: 2.484 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.8483, allocations: 192 / 1.032 GB, free: 2.484 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.8485, allocations: 143.8 kB / 1.033 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004723/0.849, allocations: 68.39 kB / 1.033 GB, free: 2.277 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004655/0.8537, allocations: 3.599 MB / 1.036 GB, free: 14.48 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.854, allocations: 0.7647 MB / 1.037 GB, free: 13.7 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001828/0.8542, allocations: 70.89 kB / 1.037 GB, free: 13.62 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.8544, allocations: 99.41 kB / 1.037 GB, free: 13.53 MB / 0.795 GB Notification: Performance of SimCode: time 7.31e-07/0.8544, allocations: 0 / 1.037 GB, free: 13.53 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/0.8809, allocations: 7.756 MB / 1.045 GB, free: 5.926 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.265/9.146, allocations: 7.922 kB / 1.045 GB, free: 5.918 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches