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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001492/0.001492, 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.001512/0.001512, allocations: 196 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.269/1.269, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.539/2.539, allocations: 461.9 MB / 0.7346 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 62.97 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2517, allocations: 157.4 MB / 1.053 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002106/0.2538, allocations: 1.034 MB / 1.054 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001601/0.2554, allocations: 1.467 MB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.997e-05/0.2555, allocations: 4 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.2556, allocations: 23.67 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.887e-05/0.2557, allocations: 47.56 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009436/0.2567, allocations: 472.1 kB / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004431/0.2571, allocations: 0.5271 MB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002196/0.2573, allocations: 127.7 kB / 1.057 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.2575, allocations: 195.6 kB / 1.057 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.2577, allocations: 175.3 kB / 1.057 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.977e-05/0.2578, allocations: 52 kB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.2579, allocations: 63.98 kB / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.905e-05/0.258, allocations: 63.83 kB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001946/0.2582, allocations: 191.2 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004451/0.2586, allocations: 0.5027 MB / 1.058 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2587, allocations: 4 kB / 1.058 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2587, allocations: 0 / 1.058 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.2587, allocations: 0 / 1.058 GB, free: 3.375 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.0007449/0.2594, allocations: 0.6889 MB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.2595, allocations: 12.62 kB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.072e-05/0.2595, allocations: 62.66 kB / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.217e-05/0.2596, allocations: 44.5 kB / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009334/0.2606, allocations: 360.1 kB / 1.059 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.2606, allocations: 24.75 kB / 1.059 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.208e-05/0.2607, allocations: 32.38 kB / 1.059 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003305/0.261, allocations: 232.9 kB / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.261, allocations: 0 / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.261, allocations: 15.98 kB / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.2611, allocations: 4 kB / 1.059 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.2613, allocations: 143.3 kB / 1.059 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.2623, allocations: 0.7575 MB / 1.06 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.2626, allocations: 190.4 kB / 1.06 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/0.2628, allocations: 221.7 kB / 1.06 GB, free: 428 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.2628, allocations: 3.938 kB / 1.06 GB, free: 424 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002855/0.2631, allocations: 244.5 kB / 1.061 GB, free: 156 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=28): time 2.835e-06/0.2631, allocations: 4 kB / 1.061 GB, free: 152 kB / 0.8106 GB Notification: Performance of matching and sorting (n=28): time 0.0006237/0.2638, allocations: 422.9 kB / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.2638, allocations: 106.8 kB / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/0.2641, allocations: 282.5 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.289e-05/0.2642, allocations: 41.7 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.2643, allocations: 160.6 kB / 1.062 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.511e-05/0.2643, allocations: 59.3 kB / 1.062 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/0.2646, allocations: 141.5 kB / 1.062 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.2647, allocations: 346.8 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003326/0.265, allocations: 196.7 kB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004034/0.2654, allocations: 319.9 kB / 1.063 GB, free: 14 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005716/0.266, allocations: 0.5271 MB / 1.063 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.266, allocations: 4 kB / 1.063 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001003/0.267, allocations: 0.7089 MB / 1.064 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.681e-05/0.2671, allocations: 122.8 kB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.2671, allocations: 4 kB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.2671, allocations: 7.938 kB / 1.064 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.334e-05/0.2672, allocations: 27.92 kB / 1.064 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.2672, allocations: 4.406 kB / 1.064 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006335/0.2679, allocations: 127.5 kB / 1.064 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.752e-05/0.268, allocations: 71.8 kB / 1.064 GB, free: 12.29 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.0001816/0.2682, allocations: 191.2 kB / 1.064 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/0.2682, allocations: 35.62 kB / 1.064 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004827/0.2687, allocations: 360.8 kB / 1.065 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.2687, allocations: 7.938 kB / 1.065 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2687, allocations: 0 / 1.065 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.2687, allocations: 7.922 kB / 1.065 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007597/0.2695, allocations: 0.7172 MB / 1.065 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2695, allocations: 0 / 1.065 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.267e-05/0.2696, allocations: 15.94 kB / 1.065 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.2696, allocations: 4 kB / 1.065 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.2696, allocations: 11.92 kB / 1.065 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.2696, allocations: 4 kB / 1.065 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2696, allocations: 0 / 1.065 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004137/0.27, allocations: 415 kB / 1.066 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.083e-05/0.2701, allocations: 104.7 kB / 1.066 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.871e-05/0.2701, allocations: 15.92 kB / 1.066 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.2703, allocations: 4 kB / 1.066 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.2703, allocations: 23.97 kB / 1.066 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.2703, allocations: 15.98 kB / 1.066 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000157/0.2705, allocations: 186 kB / 1.066 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2705, allocations: 0 / 1.066 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003604/0.2709, allocations: 88 kB / 1.066 GB, free: 10.01 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.0007382/0.2716, allocations: 0.9801 MB / 1.067 GB, free: 9 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008458/0.2725, allocations: 0.6888 MB / 1.068 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2725, allocations: 0 / 1.068 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.2727, allocations: 139.8 kB / 1.068 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004309/0.2731, allocations: 69.02 kB / 1.068 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004867/0.278, allocations: 3.601 MB / 1.072 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004246/0.2784, allocations: 0.7648 MB / 1.072 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000267/0.2787, allocations: 74.89 kB / 1.072 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/0.2789, allocations: 103.3 kB / 1.073 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of SimCode: time 5.51e-07/0.2789, allocations: 3.938 kB / 1.073 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03628/0.3152, allocations: 7.748 MB / 1.08 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.61/7.925, allocations: 11.77 kB / 1.08 GB, free: 11.73 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