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.001804/0.001804, allocations: 108 kB / 15.6 MB, free: 132 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.002473/0.002473, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.565/1.565, 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 11.0.1-master/package.mo): time 2.857/2.857, allocations: 469.4 MB / 0.742 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 64.5 kB / 0.9083 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3141, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002446/0.3166, allocations: 1.027 MB / 1.065 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002545/0.3192, allocations: 1.463 MB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001941/0.3194, allocations: 4 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001708/0.3196, allocations: 27.61 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.3197, allocations: 39.59 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.3211, allocations: 470.2 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007534/0.3218, allocations: 0.531 MB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000392/0.3222, allocations: 131.7 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004438/0.3227, allocations: 199.6 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003686/0.3231, allocations: 167.3 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001985/0.3233, allocations: 52 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000213/0.3235, allocations: 63.98 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.3236, allocations: 59.83 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002944/0.3239, allocations: 195.2 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006547/0.3246, allocations: 0.4988 MB / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.3246, allocations: 0 / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3246, allocations: 0 / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.798e-05/0.3246, allocations: 0 / 1.068 GB, free: 9.586 MB / 0.8262 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.001075/0.3257, allocations: 0.7007 MB / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.3258, allocations: 8.031 kB / 1.069 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.232e-05/0.3259, allocations: 58.67 kB / 1.069 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.326, allocations: 40.56 kB / 1.069 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.327, allocations: 364.1 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.421e-05/0.3271, allocations: 32.73 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.337e-05/0.3271, allocations: 32.38 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003751/0.3275, allocations: 228.9 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.3275, allocations: 0 / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.3276, allocations: 12 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.3276, allocations: 4 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002351/0.3278, allocations: 139.3 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.3292, allocations: 0.773 MB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.3295, allocations: 194.4 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002598/0.3298, allocations: 210.1 kB / 1.071 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.3298, allocations: 4 kB / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003085/0.3301, allocations: 235.9 kB / 1.071 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=28): time 1.724e-06/0.3301, allocations: 0 / 1.071 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28): time 0.0006428/0.3307, allocations: 426.9 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.094e-05/0.3308, allocations: 106.8 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002625/0.3311, allocations: 282.5 kB / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.608e-05/0.3311, allocations: 37.7 kB / 1.072 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.3313, allocations: 160.6 kB / 1.072 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.689e-05/0.3313, allocations: 59.28 kB / 1.072 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.3315, allocations: 149.5 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.3317, allocations: 346.7 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003431/0.332, allocations: 192.7 kB / 1.073 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004325/0.3325, allocations: 331.8 kB / 1.073 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005757/0.333, allocations: 0.5193 MB / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.3331, allocations: 4 kB / 1.074 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001024/0.3341, allocations: 0.7088 MB / 1.075 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.924e-05/0.3342, allocations: 126.8 kB / 1.075 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.3342, allocations: 4 kB / 1.075 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.3342, allocations: 12.33 kB / 1.075 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.317e-05/0.3343, allocations: 27.92 kB / 1.075 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.3343, allocations: 8 kB / 1.075 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006564/0.335, allocations: 123.6 kB / 1.075 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/0.3351, allocations: 75.8 kB / 1.075 GB, free: 2.484 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.0002002/0.3353, allocations: 186.2 kB / 1.075 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.164e-05/0.3354, allocations: 31.62 kB / 1.075 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004813/0.3359, allocations: 364.4 kB / 1.076 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3359, allocations: 4 kB / 1.076 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3359, allocations: 0 / 1.076 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3359, allocations: 4 kB / 1.076 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008042/0.3367, allocations: 0.7129 MB / 1.076 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3367, allocations: 0 / 1.076 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.975e-05/0.3368, allocations: 19.92 kB / 1.076 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3368, allocations: 0 / 1.076 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.3368, allocations: 11.94 kB / 1.076 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.3368, allocations: 3.984 kB / 1.076 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.3369, allocations: 8 kB / 1.076 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004124/0.3373, allocations: 415.6 kB / 1.077 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.394e-05/0.3373, allocations: 104.7 kB / 1.077 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.669e-05/0.3374, allocations: 7.938 kB / 1.077 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.3375, allocations: 11.98 kB / 1.077 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.3376, allocations: 23.97 kB / 1.077 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.3376, allocations: 12 kB / 1.077 GB, free: 500 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001759/0.3378, allocations: 190 kB / 1.077 GB, free: 308 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3378, allocations: 0 / 1.077 GB, free: 308 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004009/0.3382, allocations: 83.98 kB / 1.077 GB, free: 224 kB / 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.0008046/0.339, allocations: 0.9835 MB / 1.078 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008805/0.3399, allocations: 0.693 MB / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3399, allocations: 0 / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001808/0.3401, allocations: 144.3 kB / 1.079 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004817/0.3406, allocations: 65.31 kB / 1.079 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004234/0.3448, allocations: 3.592 MB / 1.082 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.3451, allocations: 0.7687 MB / 1.083 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001698/0.3453, allocations: 70.91 kB / 1.083 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.3454, allocations: 111.2 kB / 1.083 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of SimCode: time 7.61e-07/0.3454, allocations: 0 / 1.083 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/0.3709, allocations: 7.743 MB / 1.091 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.75/8.121, allocations: 8.547 kB / 1.091 GB, free: 1.949 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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