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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.005446/0.005451, allocations: 95.7 kB / 15.73 MB, free: 6.484 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.001341/0.001341, allocations: 191.1 kB / 16.67 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.896/2.896, allocations: 469.4 MB / 0.7422 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.91 kB / 1.064 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3243, allocations: 159.1 MB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002808/0.3272, allocations: 1.02 MB / 1.221 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002414/0.3296, allocations: 1.466 MB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.3298, allocations: 4 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.33, allocations: 27.67 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.3301, allocations: 51.58 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.3314, allocations: 474 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007478/0.3322, allocations: 0.5427 MB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002981/0.3325, allocations: 124.2 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003488/0.3328, allocations: 199.6 kB / 1.224 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003921/0.3332, allocations: 191.3 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.3334, allocations: 52 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.3335, allocations: 55.98 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.14e-05/0.3336, allocations: 71.75 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002195/0.3339, allocations: 191.2 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005955/0.3345, allocations: 0.5217 MB / 1.225 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3345, allocations: 0 / 1.225 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3345, allocations: 0 / 1.225 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.315e-05/0.3345, allocations: 0 / 1.225 GB, free: 9.727 MB / 0.9825 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.00097/0.3355, allocations: 0.7042 MB / 1.225 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.3355, allocations: 8.031 kB / 1.225 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.066e-05/0.3356, allocations: 54.73 kB / 1.225 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.3357, allocations: 40.75 kB / 1.225 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009756/0.3367, allocations: 368.2 kB / 1.226 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.508e-05/0.3368, allocations: 24.73 kB / 1.226 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.543e-05/0.3369, allocations: 32.38 kB / 1.226 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003799/0.3372, allocations: 236.9 kB / 1.226 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3373, allocations: 0 / 1.226 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.3373, allocations: 4 kB / 1.226 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.3373, allocations: 7.984 kB / 1.226 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002196/0.3375, allocations: 155.2 kB / 1.226 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.3388, allocations: 0.7577 MB / 1.227 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.3391, allocations: 186.4 kB / 1.227 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002834/0.3394, allocations: 214.2 kB / 1.227 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.3394, allocations: 8 kB / 1.227 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003875/0.3398, allocations: 240.2 kB / 1.228 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=28): time 2.264e-06/0.3398, allocations: 7.938 kB / 1.228 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28): time 0.0007373/0.3406, allocations: 419.2 kB / 1.228 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.775e-05/0.3407, allocations: 114.8 kB / 1.228 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003164/0.341, allocations: 278.5 kB / 1.228 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.887e-05/0.341, allocations: 45.7 kB / 1.228 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.3412, allocations: 156.8 kB / 1.229 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.363e-05/0.3413, allocations: 63.48 kB / 1.229 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002549/0.3415, allocations: 141.6 kB / 1.229 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.3417, allocations: 342.7 kB / 1.229 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000376/0.3421, allocations: 200.7 kB / 1.229 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004572/0.3425, allocations: 319.9 kB / 1.23 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000648/0.3432, allocations: 0.5271 MB / 1.23 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.3432, allocations: 0 / 1.23 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001096/0.3443, allocations: 0.7215 MB / 1.231 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.156e-05/0.3444, allocations: 126.8 kB / 1.231 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.3444, allocations: 4 kB / 1.231 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.3444, allocations: 4 kB / 1.231 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.668e-05/0.3445, allocations: 23.92 kB / 1.231 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.3446, allocations: 4 kB / 1.231 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006695/0.3452, allocations: 136 kB / 1.231 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.3453, allocations: 71.8 kB / 1.231 GB, free: 2.617 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.0002116/0.3456, allocations: 193.6 kB / 1.231 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.825e-05/0.3456, allocations: 27.81 kB / 1.231 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005487/0.3462, allocations: 360.5 kB / 1.232 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.3462, allocations: 8 kB / 1.232 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3462, allocations: 4 kB / 1.232 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.3462, allocations: 3.984 kB / 1.232 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009327/0.3471, allocations: 0.7056 MB / 1.232 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3472, allocations: 4 kB / 1.232 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.313e-05/0.3472, allocations: 23.92 kB / 1.232 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.3472, allocations: 0 / 1.232 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.3473, allocations: 15.92 kB / 1.232 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.3473, allocations: 3.984 kB / 1.232 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3473, allocations: 4 kB / 1.232 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004714/0.3478, allocations: 412.9 kB / 1.233 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.61e-05/0.3478, allocations: 104.9 kB / 1.233 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.013e-05/0.3479, allocations: 11.94 kB / 1.233 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.348, allocations: 15.92 kB / 1.233 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/0.3481, allocations: 23.95 kB / 1.233 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.3481, allocations: 12 kB / 1.233 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001711/0.3483, allocations: 194 kB / 1.233 GB, free: 424 kB / 0.9825 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3483, allocations: 3.938 kB / 1.233 GB, free: 420 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003881/0.3487, allocations: 91.92 kB / 1.233 GB, free: 328 kB / 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.000783/0.3495, allocations: 0.9721 MB / 1.234 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008415/0.3503, allocations: 0.6618 MB / 1.235 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3503, allocations: 0 / 1.235 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.3505, allocations: 136.4 kB / 1.235 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.351, allocations: 61.34 kB / 1.235 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004424/0.3554, allocations: 3.616 MB / 1.239 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.3558, allocations: 0.757 MB / 1.239 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001503/0.3559, allocations: 66.92 kB / 1.239 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.3561, allocations: 103.3 kB / 1.239 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/0.3561, allocations: 0 / 1.239 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02801/0.3841, allocations: 7.826 MB / 1.247 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.901/8.285, allocations: 9.969 kB / 1.247 GB, free: 2.023 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 & 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