Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_9_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.006862/0.006862, allocations: 102 kB / 15.73 MB, free: 6 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.001605/0.001605, allocations: 193.8 kB / 16.68 MB, free: 5.922 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.189/2.189, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 63.91 kB / 0.9504 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7911/0.7925, allocations: 140.4 MB / 1.087 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002403/0.7949, allocations: 1.032 MB / 1.088 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001981/0.7969, allocations: 1.45 MB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.767e-05/0.797, allocations: 2.688 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.7972, allocations: 28.09 kB / 1.09 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.576e-05/0.7973, allocations: 41.08 kB / 1.09 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.7985, allocations: 471.9 kB / 1.09 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006497/0.7992, allocations: 0.5383 MB / 1.091 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000302/0.7995, allocations: 128.5 kB / 1.091 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002633/0.7998, allocations: 208.7 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003007/0.8001, allocations: 186.9 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.83e-05/0.8002, allocations: 52.94 kB / 1.091 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.8003, allocations: 67.83 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.92e-05/0.8004, allocations: 64.81 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002202/0.8007, allocations: 187.3 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006966/0.8014, allocations: 0.5168 MB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.8014, allocations: 0.8125 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8014, allocations: 0 / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.8014, allocations: 0.7812 kB / 1.092 GB, free: 2.398 MB / 0.8575 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.0009273/0.8023, allocations: 0.6884 MB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.8024, allocations: 14.06 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.992e-05/0.8025, allocations: 59.62 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/0.8026, allocations: 41.12 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009931/0.8036, allocations: 352.8 kB / 1.093 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.318e-05/0.8036, allocations: 29.08 kB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.956e-05/0.8037, allocations: 38.64 kB / 1.093 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004799/0.8042, allocations: 234 kB / 1.094 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.8042, allocations: 0.75 kB / 1.094 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.8043, allocations: 7.266 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.8043, allocations: 5.125 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002775/0.8046, allocations: 141.3 kB / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.8061, allocations: 0.7638 MB / 1.095 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000382/0.8065, allocations: 183.8 kB / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003876/0.8068, allocations: 213.6 kB / 1.095 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.8069, allocations: 1.812 kB / 1.095 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004099/0.8073, allocations: 240.5 kB / 1.095 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=28): time 2.405e-06/0.8073, allocations: 5.141 kB / 1.095 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of matching and sorting (n=28): time 0.0008667/0.8082, allocations: 421 kB / 1.096 GB, free: 464 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/0.8082, allocations: 113.1 kB / 1.096 GB, free: 332 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003281/0.8086, allocations: 288.7 kB / 1.096 GB, free: 152 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.261e-05/0.8086, allocations: 42.36 kB / 1.096 GB, free: 112 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.8088, allocations: 166.1 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.382e-05/0.8089, allocations: 53.77 kB / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002646/0.8091, allocations: 146.8 kB / 1.096 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.8093, allocations: 339.8 kB / 1.097 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004061/0.8097, allocations: 197.8 kB / 1.097 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000519/0.8102, allocations: 331.6 kB / 1.097 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007879/0.811, allocations: 0.5235 MB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.811, allocations: 1.656 kB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001415/0.8125, allocations: 0.7135 MB / 1.098 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002561/0.8127, allocations: 130 kB / 1.099 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.8127, allocations: 7.312 kB / 1.099 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.182e-05/0.8128, allocations: 9.984 kB / 1.099 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.8129, allocations: 25.19 kB / 1.099 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.06e-05/0.813, allocations: 9.031 kB / 1.099 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007594/0.8137, allocations: 123.3 kB / 1.099 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/0.8139, allocations: 77.09 kB / 1.099 GB, free: 14.38 MB / 0.8731 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.0003007/0.8142, allocations: 177.3 kB / 1.099 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.888e-05/0.8143, allocations: 34.31 kB / 1.099 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007954/0.8151, allocations: 364.3 kB / 1.099 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.8151, allocations: 3.375 kB / 1.099 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.8151, allocations: 4.5 kB / 1.099 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.8151, allocations: 2.156 kB / 1.099 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.8163, allocations: 0.706 MB / 1.1 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.8163, allocations: 4 kB / 1.1 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.792e-05/0.8164, allocations: 23 kB / 1.1 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.8164, allocations: 5.156 kB / 1.1 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.8164, allocations: 4.625 kB / 1.1 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.8164, allocations: 1.094 kB / 1.1 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.8164, allocations: 1.031 kB / 1.1 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005693/0.817, allocations: 417.2 kB / 1.1 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.843e-05/0.8171, allocations: 110.2 kB / 1.101 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.114e-05/0.8172, allocations: 12.06 kB / 1.101 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.8173, allocations: 9.922 kB / 1.101 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.833e-05/0.8174, allocations: 25.41 kB / 1.101 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.847e-05/0.8174, allocations: 13.22 kB / 1.101 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000264/0.8177, allocations: 187.8 kB / 1.101 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8177, allocations: 0.5938 kB / 1.101 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005834/0.8183, allocations: 86.31 kB / 1.101 GB, free: 13.13 MB / 0.8731 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.001473/0.8198, allocations: 0.9847 MB / 1.102 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001335/0.8211, allocations: 0.6525 MB / 1.103 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.8211, allocations: 1.312 kB / 1.103 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003089/0.8215, allocations: 141.5 kB / 1.103 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005756/0.822, allocations: 67.73 kB / 1.103 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006544/0.8286, allocations: 3.6 MB / 1.106 GB, free: 9.633 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005168/0.8291, allocations: 0.7625 MB / 1.107 GB, free: 8.93 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002399/0.8294, allocations: 70.44 kB / 1.107 GB, free: 8.914 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.8296, allocations: 100.4 kB / 1.107 GB, free: 8.848 MB / 0.8731 GB Notification: Performance of SimCode: time 1.062e-06/0.8296, allocations: 0 / 1.107 GB, free: 8.848 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03035/0.8599, allocations: 7.975 MB / 1.115 GB, free: 7.996 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.022/8.882, allocations: 7.531 kB / 1.115 GB, free: 7.992 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches