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.0009095/0.0009093, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.004838/0.004838, allocations: 173.1 kB / 16.27 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.347/1.347, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.698/2.698, allocations: 462.6 MB / 0.7364 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003753/0.0003753, allocations: 16.5 kB / 0.9029 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.305, allocations: 159.6 MB / 1.059 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.001351/0.3064, allocations: 0.7386 MB / 1.06 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002306/0.3088, allocations: 1.513 MB / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.309, allocations: 4 kB / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001568/0.3091, allocations: 15.8 kB / 1.061 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001433/0.3093, allocations: 27.78 kB / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.3105, allocations: 441.9 kB / 1.061 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005083/0.311, allocations: 455.7 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002784/0.3113, allocations: 127.7 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/0.3115, allocations: 155.6 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.3118, allocations: 135.4 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.395e-05/0.3119, allocations: 23.94 kB / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.312, allocations: 31.98 kB / 1.062 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.273e-05/0.3121, allocations: 47.78 kB / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002479/0.3123, allocations: 181 kB / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000533/0.3129, allocations: 474.7 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3129, allocations: 4 kB / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of FrontEnd: time 2.385e-06/0.3129, allocations: 0 / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.441e-05/0.3129, allocations: 0 / 1.063 GB, free: 496 kB / 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.0009476/0.3139, allocations: 0.6071 MB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.3139, allocations: 11.97 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.405e-05/0.314, allocations: 58.72 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.3142, allocations: 36.66 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.3153, allocations: 381.6 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.699e-05/0.3153, allocations: 20.75 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.264e-05/0.3154, allocations: 36.36 kB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004004/0.3159, allocations: 236.6 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3159, allocations: 0 / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.3159, allocations: 8 kB / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.3159, allocations: 4 kB / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002234/0.3161, allocations: 139.3 kB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.3174, allocations: 0.7769 MB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.3177, allocations: 182.5 kB / 1.065 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002713/0.318, allocations: 208.8 kB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.318, allocations: 11.88 kB / 1.066 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003304/0.3184, allocations: 248.5 kB / 1.066 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=28): time 1.913e-06/0.3184, allocations: 0 / 1.066 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28): time 0.0007384/0.3191, allocations: 419 kB / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.968e-05/0.3192, allocations: 106.8 kB / 1.066 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000323/0.3195, allocations: 282.4 kB / 1.067 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.535e-05/0.3196, allocations: 45.69 kB / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.3198, allocations: 160.7 kB / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.464e-05/0.3199, allocations: 59.19 kB / 1.067 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.32, allocations: 69.67 kB / 1.067 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3201, allocations: 342.8 kB / 1.067 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003826/0.3205, allocations: 200.3 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005034/0.321, allocations: 316.4 kB / 1.068 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006407/0.3217, allocations: 0.5232 MB / 1.068 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.3217, allocations: 4 kB / 1.068 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001285/0.323, allocations: 0.713 MB / 1.069 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.938e-05/0.3231, allocations: 123.2 kB / 1.069 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.3231, allocations: 8 kB / 1.069 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.3231, allocations: 8 kB / 1.069 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.3232, allocations: 35.8 kB / 1.069 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.3233, allocations: 7.984 kB / 1.069 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007268/0.324, allocations: 163.6 kB / 1.069 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.3241, allocations: 75.84 kB / 1.069 GB, free: 9.488 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.0002253/0.3243, allocations: 193.6 kB / 1.07 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.405e-05/0.3244, allocations: 27.62 kB / 1.07 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005323/0.3249, allocations: 356.8 kB / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.325, allocations: 15.91 kB / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.325, allocations: 0 / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.325, allocations: 4 kB / 1.07 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008667/0.3258, allocations: 0.7133 MB / 1.071 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3259, allocations: 0 / 1.071 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.178e-05/0.3259, allocations: 23.98 kB / 1.071 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-06/0.326, allocations: 4 kB / 1.071 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.326, allocations: 7.938 kB / 1.071 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.326, allocations: 4 kB / 1.071 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.326, allocations: 0 / 1.071 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005098/0.3265, allocations: 411 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.3266, allocations: 108.7 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.3267, allocations: 11.94 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.3268, allocations: 18.23 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.3269, allocations: 19.97 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.3269, allocations: 12 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001747/0.3271, allocations: 190 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3271, allocations: 0 / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004107/0.3275, allocations: 88 kB / 1.072 GB, free: 7.211 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.000906/0.3284, allocations: 0.9802 MB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009574/0.3294, allocations: 0.6496 MB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.3294, allocations: 4.812 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.3296, allocations: 143.8 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004697/0.3301, allocations: 65.83 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004924/0.335, allocations: 3.648 MB / 1.077 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.3354, allocations: 0.7688 MB / 1.078 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000164/0.3356, allocations: 62.92 kB / 1.078 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.3357, allocations: 103.4 kB / 1.078 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of SimCode: time 2.063e-06/0.3358, allocations: 0 / 1.078 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.3562, allocations: 7.337 MB / 1.085 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/0.3564, allocations: 216.9 kB / 1.085 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.954/2.31, allocations: 3.125 kB / 1.085 GB, free: 9.152 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