Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 105.7 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002176/0.002176, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 225.6 MB / 249.3 MB, free: 3.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.54/2.54, allocations: 476.7 MB / 0.7628 GB, free: 15.27 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.BooleanExtractSignal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 63.91 kB / 1.107 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7888/0.7907, allocations: 168.7 MB / 1.271 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001773/0.7925, allocations: 0.7247 MB / 1.272 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.7939, allocations: 1.254 MB / 1.273 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.585e-05/0.794, allocations: 0.8125 kB / 1.273 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.977e-05/0.7941, allocations: 15.48 kB / 1.273 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.807e-05/0.7941, allocations: 17.73 kB / 1.273 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007063/0.7948, allocations: 242.1 kB / 1.274 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002882/0.7951, allocations: 244.4 kB / 1.274 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.7952, allocations: 26.92 kB / 1.274 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.7953, allocations: 102.8 kB / 1.274 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.7955, allocations: 89.28 kB / 1.274 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.73e-05/0.7955, allocations: 19.88 kB / 1.274 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.7956, allocations: 42.3 kB / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.691e-05/0.7957, allocations: 31.69 kB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.503e-05/0.7958, allocations: 89.95 kB / 1.274 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002499/0.796, allocations: 239.6 kB / 1.274 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.796, allocations: 4 kB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.796, allocations: 0 / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.796, allocations: 1 kB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004369/0.7965, allocations: 0.4987 MB / 1.275 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.7965, allocations: 9 kB / 1.275 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.722e-05/0.7965, allocations: 43.67 kB / 1.275 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.02e-05/0.7966, allocations: 21.47 kB / 1.275 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004641/0.7971, allocations: 254.9 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.7971, allocations: 13.34 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.272e-05/0.7971, allocations: 18.28 kB / 1.275 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.7973, allocations: 130.6 kB / 1.275 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.7973, allocations: 0 / 1.275 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.7973, allocations: 6.812 kB / 1.275 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.7973, allocations: 2.75 kB / 1.275 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.103e-05/0.7974, allocations: 53.83 kB / 1.275 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004582/0.7979, allocations: 0.6687 MB / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.682e-05/0.7979, allocations: 39.67 kB / 1.276 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.83e-05/0.7979, allocations: 13.86 kB / 1.276 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/0.7979, allocations: 9.859 kB / 1.276 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001322/0.7981, allocations: 97.03 kB / 1.276 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.7981, allocations: 0 / 1.276 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0002068/0.7983, allocations: 105 kB / 1.276 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.7983, allocations: 79.2 kB / 1.276 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.7984, allocations: 182.2 kB / 1.277 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.7984, allocations: 30.11 kB / 1.277 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.294e-05/0.7985, allocations: 128.7 kB / 1.277 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.919e-06/0.7985, allocations: 9.688 kB / 1.277 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.853e-05/0.7986, allocations: 62.44 kB / 1.277 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.94e-05/0.7986, allocations: 324.4 kB / 1.277 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.7988, allocations: 49.89 kB / 1.277 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.7989, allocations: 123.8 kB / 1.277 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.799, allocations: 182.4 kB / 1.277 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.799, allocations: 0 / 1.277 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003645/0.7994, allocations: 266.7 kB / 1.278 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/0.7994, allocations: 64.12 kB / 1.278 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.7994, allocations: 2.781 kB / 1.278 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.7995, allocations: 6.469 kB / 1.278 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.761e-05/0.7995, allocations: 8.328 kB / 1.278 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.7995, allocations: 2.062 kB / 1.278 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003727/0.7999, allocations: 77.17 kB / 1.278 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.7999, allocations: 20.83 kB / 1.278 GB, free: 2.922 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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 8.507e-05/0.8, allocations: 142.7 kB / 1.278 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.8, allocations: 15.22 kB / 1.278 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.777e-05/0.8, allocations: 12.56 kB / 1.278 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.8, allocations: 1.094 kB / 1.278 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.8, allocations: 1.344 kB / 1.278 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.8, allocations: 0.9844 kB / 1.278 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.8001, allocations: 206.8 kB / 1.278 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.8001, allocations: 0 / 1.278 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.775e-06/0.8001, allocations: 5.219 kB / 1.278 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.8001, allocations: 9.062 kB / 1.278 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.8002, allocations: 1.062 kB / 1.278 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.8002, allocations: 0.9688 kB / 1.278 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.8002, allocations: 0.9688 kB / 1.278 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.8003, allocations: 121.8 kB / 1.278 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.94e-05/0.8003, allocations: 84.88 kB / 1.278 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.8003, allocations: 1.484 kB / 1.278 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.317e-05/0.8003, allocations: 5.656 kB / 1.278 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.663e-05/0.8004, allocations: 4.953 kB / 1.278 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-06/0.8004, allocations: 15.44 kB / 1.279 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.254e-05/0.8004, allocations: 112.9 kB / 1.279 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8004, allocations: 0 / 1.279 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002442/0.8007, allocations: 44.59 kB / 1.279 GB, free: 2.246 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002746/0.8009, allocations: 0.6599 MB / 1.279 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002514/0.8012, allocations: 210 kB / 1.279 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.8012, allocations: 0 / 1.279 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.444e-05/0.8012, allocations: 16.3 kB / 1.28 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.8014, allocations: 26.31 kB / 1.28 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.8032, allocations: 1.925 MB / 1.281 GB, free: 15.9 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.8035, allocations: 0.72 MB / 1.282 GB, free: 15.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.753e-05/0.8035, allocations: 16.53 kB / 1.282 GB, free: 15.19 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.179e-05/0.8036, allocations: 35.09 kB / 1.282 GB, free: 15.16 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.8036, allocations: 0.6875 kB / 1.282 GB, free: 15.16 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.8289, allocations: 3.605 MB / 1.286 GB, free: 14.62 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.882/7.71, allocations: 11.19 kB / 1.286 GB, free: 14.61 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.140552251999907]